[PATCH 08/15] net: pcnet: Drop useless forward declarations

Marek Vasut marek.vasut at gmail.com
Sun May 17 18:24:18 CEST 2020


Remove those as they are not needed anymore.

Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
Cc: Joe Hershberger <joe.hershberger at ni.com>
---
 drivers/net/pcnet.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c
index ec8d080794..3e04781aa4 100644
--- a/drivers/net/pcnet.c
+++ b/drivers/net/pcnet.c
@@ -138,12 +138,6 @@ static int pcnet_check(struct eth_device *dev)
 	return readw(base + PCNET_RAP) == 88;
 }
 
-static int pcnet_init (struct eth_device *dev, bd_t * bis);
-static int pcnet_send(struct eth_device *dev, void *packet, int length);
-static int pcnet_recv (struct eth_device *dev);
-static void pcnet_halt (struct eth_device *dev);
-static int pcnet_probe (struct eth_device *dev, bd_t * bis, int dev_num);
-
 static inline pci_addr_t pcnet_virt_to_mem(const struct eth_device *dev,
 						void *addr)
 {
-- 
2.25.1



More information about the U-Boot mailing list