staging: rts5208: Comparison to NULL
Fix to resolve checkpatch message Signed-off-by: Wayne Porter <wporter82@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
911e84a09a
commit
a38e369b31
@ -986,7 +986,7 @@ int card_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip,
|
|||||||
unsigned int lun = SCSI_LUN(srb);
|
unsigned int lun = SCSI_LUN(srb);
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (chip->rw_card[lun] == NULL) {
|
if (!chip->rw_card[lun]) {
|
||||||
rtsx_trace(chip);
|
rtsx_trace(chip);
|
||||||
return STATUS_FAIL;
|
return STATUS_FAIL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user