aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/3945-mac.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2012-02-03 11:32:00 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-02-06 14:56:13 -0500
commit00ea99e1d86b05e7ba90d66673b536b731af87cd (patch)
treefe903abefeb16778697e48062a4321cee42b0c99 /drivers/net/wireless/iwlegacy/3945-mac.c
parent89ef1ed2d241d3dfe884055d8446a5dd94919e54 (diff)
iwlegacy: remove struct il_tx_info
It's just wrapper to sk_buff pointers ... Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/3945-mac.c')
-rw-r--r--drivers/net/wireless/iwlegacy/3945-mac.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlegacy/3945-mac.c b/drivers/net/wireless/iwlegacy/3945-mac.c
index 40ce692b2c94..aa8f5c0bd642 100644
--- a/drivers/net/wireless/iwlegacy/3945-mac.c
+++ b/drivers/net/wireless/iwlegacy/3945-mac.c
@@ -538,9 +538,7 @@ il3945_tx_skb(struct il_priv *il, struct sk_buff *skb)
538 538
539 idx = il_get_cmd_idx(q, q->write_ptr, 0); 539 idx = il_get_cmd_idx(q, q->write_ptr, 0);
540 540
541 /* Set up driver data for this TFD */ 541 txq->skbs[q->write_ptr] = skb;
542 memset(&(txq->txb[q->write_ptr]), 0, sizeof(struct il_tx_info));
543 txq->txb[q->write_ptr].skb = skb;
544 542
545 /* Init first empty entry in queue's array of Tx/cmd buffers */ 543 /* Init first empty entry in queue's array of Tx/cmd buffers */
546 out_cmd = txq->cmd[idx]; 544 out_cmd = txq->cmd[idx];