]> 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)
commitbd1a3413a0fea6ad1769e4bb242de13d7e72414e
tree800037ec5cbe473d9639eb01121cb14bddf8b18d
parent804deb05e3c3a10bebdfd5c68e2fb1b0b0056fb5
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