]> git.baikalelectronics.ru Git - kernel.git/commit
enetc: Drop redundant device node check
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Tue, 10 Mar 2020 12:51:21 +0000 (14:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 22:48:54 +0000 (15:48 -0700)
commita65a7df4ec738856f293322a61d1c613bcc1840f
tree4be9ea522cb71c6e27078b47842eca27b3a6b407
parentf9d22ee3cb558f1fa17a15c14b29534f6f077ece
enetc: Drop redundant device node check

The existence of the DT port node is the first thing checked
at probe time, and probing won't reach this point if the node
is missing.

Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc_pf.c