diff options
author | Wayne Porter <wporter82@gmail.com> | 2016-10-11 21:56:44 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-16 10:27:02 +0200 |
commit | a38e369b31ee7498c63eb3307392020e9250b6f6 (patch) | |
tree | 3fafa3fe6945293ad5ac349c51b16651067bb395 /drivers/staging/rts5208 | |
parent | 911e84a09af67e03ecefbc88118d9163b7492eb0 (diff) | |
download | linux-stable-a38e369b31ee7498c63eb3307392020e9250b6f6.tar.gz linux-stable-a38e369b31ee7498c63eb3307392020e9250b6f6.tar.bz2 linux-stable-a38e369b31ee7498c63eb3307392020e9250b6f6.zip |
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>
Diffstat (limited to 'drivers/staging/rts5208')
-rw-r--r-- | drivers/staging/rts5208/rtsx_card.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rts5208/rtsx_card.c b/drivers/staging/rts5208/rtsx_card.c index 657d2da70a9c..a6b7bffc6714 100644 --- a/drivers/staging/rts5208/rtsx_card.c +++ b/drivers/staging/rts5208/rtsx_card.c @@ -986,7 +986,7 @@ int card_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip, unsigned int lun = SCSI_LUN(srb); int i; - if (chip->rw_card[lun] == NULL) { + if (!chip->rw_card[lun]) { rtsx_trace(chip); return STATUS_FAIL; } |