]> 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)
commit7926f941329f40266bc7341e47dca54c2f4c7080
treedc0e5f08fd8429559c6a4550936f7a81da3d3ad1
parentd2777a4459b39e54de1db12f1fa3efc0cfb17564
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