OSDN Git Service

net: tulip: Remove the repeated declaration
authorShaokun Zhang <zhangshaokun@hisilicon.com>
Sat, 5 Jun 2021 05:42:56 +0000 (13:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jun 2021 21:03:11 +0000 (14:03 -0700)
Function 'pnic2_lnk_change' is declared twice, so remove the
repeated declaration.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/dec/tulip/tulip.h

index 8159072..0ed598d 100644 (file)
@@ -478,7 +478,6 @@ void t21142_lnk_change(struct net_device *dev, int csr5);
 void pnic2_lnk_change(struct net_device *dev, int csr5);
 void pnic2_timer(struct timer_list *t);
 void pnic2_start_nway(struct net_device *dev);
-void pnic2_lnk_change(struct net_device *dev, int csr5);
 
 /* eeprom.c */
 void tulip_parse_eeprom(struct net_device *dev);