summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2007-02-19 18:31:20 +0100
committerMichael Brown2007-02-19 18:31:20 +0100
commitc63af1ea14acc96d9184407622efcf70c568fd4b (patch)
tree5755b3001d36296612507054af9e03f79c7ef275
parentFix some bad pointer arithmatic in the tg3 driver that was causing the dynami... (diff)
downloadipxe-c63af1ea14acc96d9184407622efcf70c568fd4b.tar.gz
ipxe-c63af1ea14acc96d9184407622efcf70c568fd4b.tar.xz
ipxe-c63af1ea14acc96d9184407622efcf70c568fd4b.zip
Remove no-longer-used variable
-rw-r--r--src/drivers/net/legacy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/drivers/net/legacy.c b/src/drivers/net/legacy.c
index 291438cd3..aca83eafa 100644
--- a/src/drivers/net/legacy.c
+++ b/src/drivers/net/legacy.c
@@ -24,7 +24,6 @@ static int legacy_registered = 0;
static int legacy_transmit ( struct net_device *netdev, struct pk_buff *pkb ) {
struct nic *nic = netdev->priv;
struct ethhdr *ethhdr = pkb->data;
- int pad_len;
DBG ( "Transmitting %d bytes\n", pkb_len ( pkb ) );
pkb_pad ( pkb, ETH_ZLEN );