usb/ohci-omap: remove unused variable
authorArnd Bergmann <arnd@arndb.de>
Sat, 4 Aug 2012 07:12:00 +0000 (07:12 +0000)
committerArnd Bergmann <arnd@arndb.de>
Wed, 8 Aug 2012 19:13:01 +0000 (21:13 +0200)
commitbb1a5805edf1d1e5da02b23dfca76ed99dfa18b1
tree9a8e70d56c36268364e5915f5fc2fb8ae5db99e5
parentb2f0fa828ee7265028f1bca87928b0dc69663b53
usb/ohci-omap: remove unused variable

Commit c2e935a7d "USB: move transceiver from ehci_hcd and ohci_hcd to
hcd and rename it as phy" removed the last use of the "ohci" variable
in the usb_hcd_omap_remove function, but left the variable in place
unused.

Without this patch, building omap1_defconfig results in:

In file included from drivers/usb/host/ohci-hcd.c:1013:0:
drivers/usb/host/ohci-omap.c: In function 'usb_hcd_omap_remove':
drivers/usb/host/ohci-omap.c:406:19: warning: unused variable 'ohci' [-Wunused-variable]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Richard Zhao <richard.zhao@freescale.com>
drivers/usb/host/ohci-omap.c