mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 07:51:16 -04:00
Staging: et131x: kill unused tcb fields
Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
c78732ad75
commit
fb034f841d
@@ -368,7 +368,6 @@ static int et131x_send_packet(struct sk_buff *skb,
|
||||
|
||||
spin_unlock_irqrestore(&etdev->TCBReadyQLock, flags);
|
||||
|
||||
tcb->len = skb->len;
|
||||
tcb->skb = skb;
|
||||
|
||||
if ((skb->data != NULL) && ((skb->len - skb->data_len) >= 6)) {
|
||||
|
||||
@@ -106,11 +106,10 @@ struct tx_desc {
|
||||
struct tcb {
|
||||
struct tcb *next; /* Next entry in ring */
|
||||
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 */
|
||||
struct sk_buff *skb; /* Network skb we are tied to */
|
||||
u32 len;
|
||||
u32 index;
|
||||
u32 index; /* Ring indexes */
|
||||
u32 index_start;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user