]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: improve printing NIC information
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 22 Aug 2021 17:20:42 +0000 (19:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Aug 2021 08:16:39 +0000 (09:16 +0100)
commit2a1dc8eb906c799ec179bf453bf06ea01d6a7e9e
tree5bb5e4264ca6e588a515d9cbaaaee25cfb1bceb2
parent0fbff551efd351199a0b15787f7e157f03b70115
cxgb4: improve printing NIC information

Currently the interface name and PCI address are printed twice, because
netdev_info() is printing this information implicitly already. This results
in messages like the following. remove the duplicated information.

cxgb4 0000:81:00.4 eth3: eth3: Chelsio T6225-OCP-SO (0000:81:00.4) 1G/10G/25GBASE-SFP28

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c