diff options
| author | Alan Stern <stern@rowland.harvard.edu> | 2017-05-16 11:48:10 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-18 16:05:24 +0200 |
| commit | f8efdabd14532c47e5420dc593c2a13028e42140 (patch) | |
| tree | 3e6c73521e9368162fa7bd5811e3ace342985903 /tools/perf/scripts/python | |
| parent | USB: ene_usb6250: implement REQUEST SENSE (diff) | |
| download | linux-f8efdabd14532c47e5420dc593c2a13028e42140.tar.gz linux-f8efdabd14532c47e5420dc593c2a13028e42140.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
