]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: Remove unneeded pointer intf from speedtch_upload_firmware()
authorMicah Gruber <micah.gruber@gmail.com>
Wed, 5 Sep 2007 05:49:58 +0000 (13:49 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:54:58 +0000 (14:54 -0700)
commit011db815231f40d4d53531b5d41b82c8dc7c44bf
treea7755a3b9b09eb09dfc36b94108d2db4021c49de
parent782e3b3b3804c38d5130c7f21d7ec7bf6709023f
USB: Remove unneeded pointer intf from speedtch_upload_firmware()

This trivial patch removes the unneeded pointer intf returned from
usb_ifnum_to_if(), which is never used. The check for NULL can be simply done
by if (!usb_ifnum_to_if(usb_dev, 2)).

Signed-off-by: Micah Gruber <micah.gruber@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/atm/speedtch.c