diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2017-08-04 01:43:19 -0400 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-08-10 19:55:34 -0400 |
commit | 201c37d7bf121474ab08212ec0a1e9b163bdd74f (patch) | |
tree | 785a66cee35553b15b5e8ce69deaee0838a09db4 /Documentation/cgroup-v2.txt | |
parent | 7640d91d285893a5cf1e62b2cd00f0884c401d93 (diff) | |
download | lwn-201c37d7bf121474ab08212ec0a1e9b163bdd74f.tar.gz lwn-201c37d7bf121474ab08212ec0a1e9b163bdd74f.zip |
scsi: esp_scsi: Clean up control flow and dead code
This patch improves readability. There are no functional changes.
Since this touches on a questionable ESP_INTR_DC conditional, add some
commentary to help others who may (as I did) find themselves chasing an
"Invalid Command" error after the device flags this condition.
This cleanup also eliminates a warning from "make W=1":
drivers/scsi/esp_scsi.c: In function 'esp_finish_select':
drivers/scsi/esp_scsi.c:1233:5: warning: variable 'orig_select_state' set but not used [-Wunused-but-set-variable]
u8 orig_select_state;
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'Documentation/cgroup-v2.txt')
0 files changed, 0 insertions, 0 deletions