Skip to content

Commit

Permalink
Staging: et131x: kill unused tcb fields
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Dec 11, 2009
1 parent c78732a commit fb034f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion drivers/staging/et131x/et1310_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
5 changes: 2 additions & 3 deletions drivers/staging/et131x/et1310_tx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit fb034f8

Please sign in to comment.