mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-06 14:45:14 +00:00
scsi: NCR5380: Return false instead of NULL
I overlooked this statement when I recently converted the function result type from struct scsi_cmnd * to bool. No change to object code. Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
0d52e642c0
commit
96edebd6bb
1 changed files with 1 additions and 1 deletions
|
@ -1198,7 +1198,7 @@ static bool NCR5380_select(struct Scsi_Host *instance, struct scsi_cmnd *cmd)
|
|||
|
||||
out:
|
||||
if (!hostdata->selecting)
|
||||
return NULL;
|
||||
return false;
|
||||
hostdata->selecting = NULL;
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue