Staging: rts5208: rtsx: Use x instead of x != NULL.
Use x instead of x != NULL. This patch was found by checkpatch. Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f432bc8141
commit
8bee668de5
|
@ -131,7 +131,7 @@ static int queuecommand_lck(struct scsi_cmnd *srb,
|
|||
struct rtsx_chip *chip = dev->chip;
|
||||
|
||||
/* check for state-transition errors */
|
||||
if (chip->srb != NULL) {
|
||||
if (chip->srb) {
|
||||
dev_err(&dev->pci->dev, "Error: chip->srb = %p\n",
|
||||
chip->srb);
|
||||
return SCSI_MLQUEUE_HOST_BUSY;
|
||||
|
|
Loading…
Reference in New Issue