Commit fb034f84 authored by Alan Cox's avatar Alan Cox Committed by Greg Kroah-Hartman

Staging: et131x: kill unused tcb fields

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent c78732ad
...@@ -368,7 +368,6 @@ static int et131x_send_packet(struct sk_buff *skb, ...@@ -368,7 +368,6 @@ static int et131x_send_packet(struct sk_buff *skb,
spin_unlock_irqrestore(&etdev->TCBReadyQLock, flags); spin_unlock_irqrestore(&etdev->TCBReadyQLock, flags);
tcb->len = skb->len;
tcb->skb = skb; tcb->skb = skb;
if ((skb->data != NULL) && ((skb->len - skb->data_len) >= 6)) { if ((skb->data != NULL) && ((skb->len - skb->data_len) >= 6)) {
......
...@@ -106,11 +106,10 @@ struct tx_desc { ...@@ -106,11 +106,10 @@ struct tx_desc {
struct tcb { struct tcb {
struct tcb *next; /* Next entry in ring */ struct tcb *next; /* Next entry in ring */
u32 flags; /* Our flags for the packet */ u32 flags; /* Our flags for the packet */
u32 count; u32 count; /* Used to spot stuck/lost packets */
u32 stale; /* Used to spot stuck/lost packets */ u32 stale; /* Used to spot stuck/lost packets */
struct sk_buff *skb; /* Network skb we are tied to */ struct sk_buff *skb; /* Network skb we are tied to */
u32 len; u32 index; /* Ring indexes */
u32 index;
u32 index_start; u32 index_start;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment