aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2500pci.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/rt2500pci.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/rt2500pci.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2500pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c
index 74b54c948b8d..3c956b91c4e3 100644
--- a/drivers/net/wireless/rt2x00/rt2500pci.c
+++ b/drivers/net/wireless/rt2x00/rt2500pci.c
@@ -1823,8 +1823,6 @@ static int rt2500pci_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb)
1823 */ 1823 */
1824 skbdesc = get_skb_frame_desc(skb); 1824 skbdesc = get_skb_frame_desc(skb);
1825 memset(skbdesc, 0, sizeof(*skbdesc)); 1825 memset(skbdesc, 0, sizeof(*skbdesc));
1826 skbdesc->data = skb->data;
1827 skbdesc->data_len = skb->len;
1828 skbdesc->desc = entry_priv->desc; 1826 skbdesc->desc = entry_priv->desc;
1829 skbdesc->desc_len = intf->beacon->queue->desc_size; 1827 skbdesc->desc_len = intf->beacon->queue->desc_size;
1830 skbdesc->entry = intf->beacon; 1828 skbdesc->entry = intf->beacon;