summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/stmicro/stmmac
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2018-04-22 18:15:15 +0300
committerDavid S. Miller <davem@davemloft.net>2018-04-23 18:59:22 +0300
commit22148df0d0bdbd5d1cca4e069e17bf49b070498f (patch)
treee1c3eafaf32f20f8b5ae69a238cce77e2f4426d1 /drivers/net/ethernet/stmicro/stmmac
parentc6849a3ac17e336811f1d5bba991d2a9bdc47af1 (diff)
downloadlinux-22148df0d0bdbd5d1cca4e069e17bf49b070498f.tar.xz
r8169: don't use netif_info et al before net_device has been registered
There's no benefit in using netif_info et al before the net_device has been registered. We get messages like r8169 0000:03:00.0 (unnamed net_device) (uninitialized): [message] Therefore use dev_info/dev_err instead. As a side effect we don't need parameter dev for function rtl8169_get_mac_version() any longer. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac')
0 files changed, 0 insertions, 0 deletions