diff options
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 4a3842212c50..501f67bef719 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -1278,11 +1278,10 @@ static inline int scsi_target_queue_ready(struct Scsi_Host *shost, | |||
1278 | } | 1278 | } |
1279 | 1279 | ||
1280 | if (scsi_target_is_busy(starget)) { | 1280 | if (scsi_target_is_busy(starget)) { |
1281 | if (list_empty(&sdev->starved_entry)) { | 1281 | if (list_empty(&sdev->starved_entry)) |
1282 | list_add_tail(&sdev->starved_entry, | 1282 | list_add_tail(&sdev->starved_entry, |
1283 | &shost->starved_list); | 1283 | &shost->starved_list); |
1284 | return 0; | 1284 | return 0; |
1285 | } | ||
1286 | } | 1285 | } |
1287 | 1286 | ||
1288 | /* We're OK to process the command, so we can't be starved */ | 1287 | /* We're OK to process the command, so we can't be starved */ |