]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8712: Remove NULL comparison
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Wed, 7 Oct 2015 05:28:18 +0000 (10:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Oct 2015 09:25:32 +0000 (10:25 +0100)
commit237f340d3446a8f9b28428197c5158e5bd9cadbf
tree53ba247a3d8a2da9113bbf39130f8e246a869518
parentbbc4667aa721623cae5c05c7e9c7a5af1a1155f2
staging: rtl8712: Remove NULL comparison

Remove NULL comparison by using '!' operator. Problem found using
checkpatch.pl
CHECK: Comparison to NULL could be written "!padapter->halpriv.hal_bus_init"

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