aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00pci.c
diff options
context:
space:
mode:
authorGertjan van Wingerde <gwingerde@wingerd.gvw.nl>2008-06-06 16:54:08 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-06-14 12:17:56 -0400
commitd56d453a1dd85aff08fe6965f395049725fdb04e (patch)
tree4dcb94a3cb301fc8c4dcd3892487233f64dcb7af /drivers/net/wireless/rt2x00/rt2x00pci.c
parentb869767b6f5049f1d1ede2bb3e48832e0722ca5a (diff)
rt2x00: Cleanup struct skb_frame_desc.
The data and data_len fields aren't really necessary in struct skb_frame_desc, as they can be deduced from the skb itself. Signed-off-by: Gertjan van Wingerde <gwingerde@kpnplanet.nl> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00pci.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00pci.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00pci.c b/drivers/net/wireless/rt2x00/rt2x00pci.c
index 9745277c81ce..a9819aad5e7d 100644
--- a/drivers/net/wireless/rt2x00/rt2x00pci.c
+++ b/drivers/net/wireless/rt2x00/rt2x00pci.c
@@ -61,8 +61,6 @@ int rt2x00pci_write_tx_data(struct queue_entry *entry)
61 */ 61 */
62 skbdesc = get_skb_frame_desc(entry->skb); 62 skbdesc = get_skb_frame_desc(entry->skb);
63 memset(skbdesc, 0, sizeof(*skbdesc)); 63 memset(skbdesc, 0, sizeof(*skbdesc));
64 skbdesc->data = entry->skb->data;
65 skbdesc->data_len = entry->skb->len;
66 skbdesc->desc = entry_priv->desc; 64 skbdesc->desc = entry_priv->desc;
67 skbdesc->desc_len = entry->queue->desc_size; 65 skbdesc->desc_len = entry->queue->desc_size;
68 skbdesc->entry = entry; 66 skbdesc->entry = entry;
@@ -126,8 +124,6 @@ void rt2x00pci_rxdone(struct rt2x00_dev *rt2x00dev)
126 */ 124 */
127 skbdesc = get_skb_frame_desc(entry->skb); 125 skbdesc = get_skb_frame_desc(entry->skb);
128 memset(skbdesc, 0, sizeof(*skbdesc)); 126 memset(skbdesc, 0, sizeof(*skbdesc));
129 skbdesc->data = entry->skb->data;
130 skbdesc->data_len = entry->skb->len;
131 skbdesc->desc = entry_priv->desc; 127 skbdesc->desc = entry_priv->desc;
132 skbdesc->desc_len = queue->desc_size; 128 skbdesc->desc_len = queue->desc_size;
133 skbdesc->entry = entry; 129 skbdesc->entry = entry;