diff options
author | 2015-08-28 21:35:14 +0300 | |
---|---|---|
committer | 2015-08-28 14:15:25 -0700 | |
commit | ef899c0778a39063816e19d749a688c06a6ac78e (patch) | |
tree | 461baa852a49e97a9175fdfb75a5910a05ca9413 /include/linux/uaccess.h | |
parent | phylib: simplify bogus phy_device_create() result (diff) | |
download | linux-dev-ef899c0778a39063816e19d749a688c06a6ac78e.tar.xz linux-dev-ef899c0778a39063816e19d749a688c06a6ac78e.zip |
phylib: simplify NULL checks
Fix scripts/checkpatch.pl's messages like:
CHECK: Comparison to NULL could be written "!phydrv->read_mmd_indirect"
BTW, it doesn't detect the reversed comparisons (which I've fixed as well).
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/uaccess.h')
0 files changed, 0 insertions, 0 deletions