]> 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)
commitf2b46d56cfa9a9bd0e7cc24ebcab231c3a1bfdb3
tree4be9ea522cb71c6e27078b47842eca27b3a6b407
parent098faac96e418a7413fb3ae93757ab45841bbd96
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