Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754069AbbL3TIA (ORCPT ); Wed, 30 Dec 2015 14:08:00 -0500 Received: from mail-wm0-f48.google.com ([74.125.82.48]:37263 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753920AbbL3THu (ORCPT ); Wed, 30 Dec 2015 14:07:50 -0500 From: "Felipe F. Tonello" To: linux-usb@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Felipe Balbi , Robert Baldyga , Greg Kroah-Hartman , Clemens Ladisch Subject: [PATCH 3/4] usb: gadget: f_midi: remove useless midi reference from port struct Date: Wed, 30 Dec 2015 19:07:54 +0000 Message-Id: <1451502475-22794-4-git-send-email-eu@felipetonello.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1451502475-22794-1-git-send-email-eu@felipetonello.com> References: <1451502475-22794-1-git-send-email-eu@felipetonello.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 985 Lines: 33 Signed-off-by: Felipe F. Tonello --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/