From: Alan Cox Date: Tue, 6 Oct 2009 14:49:52 +0000 (+0100) Subject: Staging: et131x: kill unused tcb fields X-Git-Tag: MMI-PSA29.97-13-9~25324^2~143 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fb034f841dae4b811901a23194484eaf62b60026;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: et131x: kill unused tcb fields Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/et131x/et1310_tx.c b/drivers/staging/et131x/et1310_tx.c index b2b4b6884469..a59818567ded 100644 --- a/drivers/staging/et131x/et1310_tx.c +++ b/drivers/staging/et131x/et1310_tx.c @@ -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)) { diff --git a/drivers/staging/et131x/et1310_tx.h b/drivers/staging/et131x/et1310_tx.h index 3e2f281e2186..eced34a3cf2d 100644 --- a/drivers/staging/et131x/et1310_tx.h +++ b/drivers/staging/et131x/et1310_tx.h @@ -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; };