]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-mmc: Fix comparison to NULL
authorDafna Hirschfeld <dafna3@gmail.com>
Sun, 30 Sep 2018 19:04:03 +0000 (22:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2018 21:53:18 +0000 (14:53 -0700)
commit3fb79e8cb4afbf72c261d7e97e1550ad572e2a0b
treedc0e5f08fd8429559c6a4550936f7a81da3d3ad1
parent2d48e862731d619e3a88012a344304b791b3af00
staging: mt7621-mmc: Fix comparison to NULL

Replace comparisons of a variable 'x' to NULL with
either 'x' or '!x'.
Issues found with checkpatch.pl

Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-mmc/sd.c