summaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2017-05-16 11:48:10 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-18 16:05:24 +0200
commitf8efdabd14532c47e5420dc593c2a13028e42140 (patch)
tree3e6c73521e9368162fa7bd5811e3ace342985903 /drivers/usb/misc
parentce553bd103c161df2676ff201746bff8ca512715 (diff)
downloadlinux-f8efdabd14532c47e5420dc593c2a13028e42140.tar.bz2
USB: ene_usb6250: remove subroutine duplication
In the ene_usb6250 sub-driver for usb-storage, the sd_scsi_inquiry() and ms_scsi_inquiry() subroutines (one meant for use with SD memory cards and the other for use with MS memory cards) are exact duplicates. This patch removes the duplication by creating a single do_scsi_inquiry() command and using it instead of the other two. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Tested-by: Andreas Hartmann <andihartmann@01019freenet.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc')
0 files changed, 0 insertions, 0 deletions