diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2015-08-03 18:57:21 +0300 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-10-27 05:08:42 +0300 |
commit | c42b3654f48bc06189a2d99629c9cf7bb79e8fe3 (patch) | |
tree | 2358efcf0c5477bf9556543f5a262be86d2991f0 /drivers/watchdog/f71808e_wdt.c | |
parent | fd6ddfa4c1ddfb4a149b31845144b4cf3cbef54d (diff) | |
download | linux-c42b3654f48bc06189a2d99629c9cf7bb79e8fe3.tar.xz |
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 <stern@rowland.harvard.edu>
Suggested-by: Giulio Bernardi <ugilio@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/watchdog/f71808e_wdt.c')
0 files changed, 0 insertions, 0 deletions