net: pxa168_eth: Adjust four checks for null pointers
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 17 Apr 2017 13:23:45 +0000 (15:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Apr 2017 17:55:10 +0000 (13:55 -0400)
commit8273f0a34cb87f0131101bab37655ee8fc05b54c
tree9f9a748e8a77aa604a4e7b34b53d7a9dfd845b38
parent91acebedbd7a6c76fdc0911366f0ada523fee645
net: pxa168_eth: Adjust four 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/pxa168_eth.c