diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2012-02-03 17:32:00 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-06 14:56:13 -0500 |
commit | 00ea99e1d86b05e7ba90d66673b536b731af87cd (patch) | |
tree | fe903abefeb16778697e48062a4321cee42b0c99 /drivers/net/wireless/iwlegacy/3945-mac.c | |
parent | 89ef1ed2d241d3dfe884055d8446a5dd94919e54 (diff) | |
download | op-kernel-dev-00ea99e1d86b05e7ba90d66673b536b731af87cd.zip op-kernel-dev-00ea99e1d86b05e7ba90d66673b536b731af87cd.tar.gz |
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.c | 4 |
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 40ce692..aa8f5c0 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) idx = il_get_cmd_idx(q, q->write_ptr, 0); - /* Set up driver data for this TFD */ - memset(&(txq->txb[q->write_ptr]), 0, sizeof(struct il_tx_info)); - txq->txb[q->write_ptr].skb = skb; + txq->skbs[q->write_ptr] = skb; /* Init first empty entry in queue's array of Tx/cmd buffers */ out_cmd = txq->cmd[idx]; |