X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fnet%2Frtl8169.c;h=9864fd7b5c81e435955483dab1b37671bcb27fdb;hb=8203b201eaa1b33758956294b3ec70b326f8ba5c;hp=b81dcad2ce5f92c9454732c5d0089ff0974dc1e4;hpb=52eb2c79110151b9017a0829c4d44ee7b8e2ca04;p=oweals%2Fu-boot.git diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c index b81dcad2ce..9864fd7b5c 100644 --- a/drivers/net/rtl8169.c +++ b/drivers/net/rtl8169.c @@ -464,7 +464,7 @@ static int rtl_recv(struct eth_device *dev) /************************************************************************** SEND - Transmit a frame ***************************************************************************/ -static int rtl_send(struct eth_device *dev, volatile void *packet, int length) +static int rtl_send(struct eth_device *dev, void *packet, int length) { /* send the packet to destination */ @@ -739,7 +739,6 @@ INIT - Look for an adapter, this routine's visible to the outside static int rtl_init(struct eth_device *dev, bd_t *bis) { static int board_idx = -1; - static int printed_version = 0; int i, rc; int option = -1, Cap10_100 = 0, Cap1000 = 0; @@ -751,8 +750,6 @@ static int rtl_init(struct eth_device *dev, bd_t *bis) board_idx++; - printed_version = 1; - /* point to private storage */ tpc = &tpx;