summaryrefslogtreecommitdiffstats
path: root/drivers/net/skge.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-03-23 20:07:28 +0100
committerJeff Garzik <jeff@garzik.org>2006-03-23 23:13:54 +0100
commit29b4e886cbba5e0b0e4379fea7fc313e7808b5c2 (patch)
tree8871821748ca3b4d4a4d96e33d6ada6735107a32 /drivers/net/skge.h
parent[PATCH] skge: dont free skb until multi-part transmit complete (diff)
downloadlinux-29b4e886cbba5e0b0e4379fea7fc313e7808b5c2.tar.xz
linux-29b4e886cbba5e0b0e4379fea7fc313e7808b5c2.zip
[PATCH] skge: compute available ring buffers
Don't need to keep track of available buffers, it is simpler to just compute the value (ala e1000). Don't need tes on link up because should always have available buffers then. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/skge.h')
-rw-r--r--drivers/net/skge.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/skge.h b/drivers/net/skge.h
index 2efdacc290e5..1f1ce88c8186 100644
--- a/drivers/net/skge.h
+++ b/drivers/net/skge.h
@@ -2418,7 +2418,6 @@ struct skge_port {
int port;
spinlock_t tx_lock;
- u32 tx_avail;
struct skge_ring tx_ring;
struct skge_ring rx_ring;