Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758347Ab0KOUy6 (ORCPT ); Mon, 15 Nov 2010 15:54:58 -0500 Received: from iolanthe.rowland.org ([192.131.102.54]:39543 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753616Ab0KOUy4 (ORCPT ); Mon, 15 Nov 2010 15:54:56 -0500 Date: Mon, 15 Nov 2010 15:54:56 -0500 (EST) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Joe Perches cc: Jiri Kosina , Greg Kroah-Hartman , , Subject: Re: [PATCH 10/11] drivers/usb/host/uhci-hcd.c: Remove unnecessary casts of pci_get_drvdata In-Reply-To: <1a734720c779c15cc09e1fb5e757f24c96196ca7.1289851770.git.joe@perches.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 953 Lines: 29 On Mon, 15 Nov 2010, Joe Perches wrote: > Signed-off-by: Joe Perches > --- > drivers/usb/host/uhci-hcd.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c > index f52d04d..cee8678 100644 > --- a/drivers/usb/host/uhci-hcd.c > +++ b/drivers/usb/host/uhci-hcd.c > @@ -569,7 +569,7 @@ static int uhci_init(struct usb_hcd *hcd) > */ > static void uhci_shutdown(struct pci_dev *pdev) > { > - struct usb_hcd *hcd = (struct usb_hcd *) pci_get_drvdata(pdev); > + struct usb_hcd *hcd = pci_get_drvdata(pdev); > > uhci_hc_died(hcd_to_uhci(hcd)); > } Acked-by: Alan Stern -- 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/