net: mvneta: Adjust six checks for null pointers
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 16 Apr 2017 20:45:33 +0000 (22:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Apr 2017 17:55:06 +0000 (13:55 -0400)
commitf95936cca6a8410ebdaf164bc5d3ade9e1de5bdb
tree6563dbe1e586250382faf37ca25e7524e80c41f9
parentd441b688a1bce8e2e1b43d8090738c306dd09131
net: mvneta: Adjust six checks for null pointers

MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The script “checkpatch.pl” pointed information out like the following.

Comparison to NULL could be written …

Thus fix the affected source code places.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c