]> git.karo-electronics.de Git - linux-beck.git/commit
staging: rtl8712: Remove NULL comparison
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Wed, 7 Oct 2015 05:26:23 +0000 (10:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Oct 2015 09:25:32 +0000 (10:25 +0100)
commit2a1283606f5f83f975f4f1abb34242004110f959
treed54740cea2fca9187e96fa8518c26f83a2e8c24d
parent29b1b61435cd3e2890883b218a4c96c7df81f3c5
staging: rtl8712: Remove NULL comparison

Remove NULL comparison by using '!' operator. Problem found
using checkpatch.pl
CHECK: Comparison to NULL could be written "!ptmpchar"

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/hal_init.c