]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-pci: IF statement expression comparing to NULL
authorBranden Bonaby <brandonbonaby94@gmail.com>
Tue, 12 Mar 2019 18:06:15 +0000 (14:06 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2019 06:05:24 +0000 (07:05 +0100)
commit1237fb5abf50baa6398c13d8ba743fb1da7caf1d
tree800037ec5cbe473d9639eb01121cb14bddf8b18d
parent5493310dadf0f686b631b2f4b48cea1487b71b60
staging: mt7621-pci: IF statement expression comparing to NULL

Remove comparison to NULL in the if statement expression
to match the Linux Kernel coding style.
CHECK: Comparison to NULL could be written "res"

Signed-off-by: Branden Bonaby <brandonbonaby94@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pci/pci-mt7621.c