mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Felipe F. Tonello" <eu@felipetonello.com>
To: linux-usb@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Felipe Balbi <balbi@ti.com>,
	Robert Baldyga <r.baldyga@samsung.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Clemens Ladisch <clemens@ladisch.de>
Subject: [PATCH 3/4] usb: gadget: f_midi: remove useless midi reference from port struct
Date: Wed, 30 Dec 2015 19:07:54 +0000	[thread overview]
Message-ID: <1451502475-22794-4-git-send-email-eu@felipetonello.com> (raw)
In-Reply-To: <1451502475-22794-1-git-send-email-eu@felipetonello.com>

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
---
 drivers/usb/gadget/function/f_midi.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/usb/gadget/function/f_midi.c b/drivers/usb/gadget/function/f_midi.c
index bbff20697f76..b7d3f5a10bf0 100644
--- a/drivers/usb/gadget/function/f_midi.c
+++ b/drivers/usb/gadget/function/f_midi.c
@@ -70,7 +70,6 @@ enum {
  * USB <- IN endpoint  <- rawmidi
  */
 struct gmidi_in_port {
-	struct f_midi *midi;
 	int active;
 	uint8_t cable;
 	uint8_t state;
@@ -1256,7 +1255,6 @@ static struct usb_function *f_midi_alloc(struct usb_function_instance *fi)
 			goto setup_fail;
 		}
 
-		port->midi = midi;
 		port->active = 0;
 		port->cable = i;
 		midi->in_port[i] = port;
-- 
2.6.4


  parent reply	other threads:[~2015-12-30 19:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-30 19:07 [PATCH 0/4] More improvements on MIDI gadget function Felipe F. Tonello
2015-12-30 19:07 ` [PATCH 1/4] usb: gadget: f_midi: refactor state machine Felipe F. Tonello
2015-12-30 19:07 ` [PATCH 2/4] usb: gadget: f_midi: added spinlock on transmit function Felipe F. Tonello
2015-12-30 19:07 ` Felipe F. Tonello [this message]
2015-12-30 19:07 ` [PATCH 4/4] usb: gadget: f_midi: add mutex_unlock under setup_fail label Felipe F. Tonello

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1451502475-22794-4-git-send-email-eu@felipetonello.com \
    --to=eu@felipetonello.com \
    --cc=balbi@ti.com \
    --cc=clemens@ladisch.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=r.baldyga@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®