Skip to content
Commit 011db815 authored by Micah Gruber's avatar Micah Gruber Committed by Greg Kroah-Hartman
Browse files

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: default avatarMicah Gruber <micah.gruber@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 782e3b3b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment