mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -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:
parent
f432bc8141
commit
8bee668de5
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue