mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 19:26:01 -04:00
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:
committed by
Greg Kroah-Hartman
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;
|
||||
|
||||
Reference in New Issue
Block a user