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 815907259048b696ef1afca02dfa83ef35d2a7fb..0ed598dc7569cdca9362e04a74f14a70ec82f765 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);