aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorAlan Stern <[email protected]>2015-08-03 11:57:21 -0400
committerJames Bottomley <[email protected]>2015-10-27 11:08:42 +0900
commitc42b3654f48bc06189a2d99629c9cf7bb79e8fe3 (patch)
tree2358efcf0c5477bf9556543f5a262be86d2991f0 /tools/perf/scripts/python/check-perf-trace.py
parentfd6ddfa4c1ddfb4a149b31845144b4cf3cbef54d (diff)
SCSI: refactor device-matching code in scsi_devinfo.c
In drivers/scsi/scsi_devinfo.c, the scsi_dev_info_list_del_keyed() and scsi_get_device_flags_keyed() routines contain a large amount of duplicate code for finding vendor/product matches in a scsi_dev_info_list. This patch factors out the duplicate code and puts it in a separate function, scsi_dev_info_list_find(). Signed-off-by: Alan Stern <[email protected]> Suggested-by: Giulio Bernardi <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions