commit | ef899c0778a39063816e19d749a688c06a6ac78e | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Fri Aug 28 21:35:14 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 28 14:15:25 2015 -0700 |
tree | 461baa852a49e97a9175fdfb75a5910a05ca9413 | |
parent | d3765f08d6f32f17ac898ec1f19957b322d4157f [diff] |
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>