diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00usb.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.c b/drivers/net/wireless/rt2x00/rt2x00usb.c index da111c0c2928..bd1546ba7ad2 100644 --- a/drivers/net/wireless/rt2x00/rt2x00usb.c +++ b/drivers/net/wireless/rt2x00/rt2x00usb.c | |||
@@ -222,7 +222,6 @@ int rt2x00usb_write_tx_data(struct queue_entry *entry, | |||
222 | struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev; | 222 | struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev; |
223 | struct usb_device *usb_dev = to_usb_device_intf(rt2x00dev->dev); | 223 | struct usb_device *usb_dev = to_usb_device_intf(rt2x00dev->dev); |
224 | struct queue_entry_priv_usb *entry_priv = entry->priv_data; | 224 | struct queue_entry_priv_usb *entry_priv = entry->priv_data; |
225 | struct skb_frame_desc *skbdesc; | ||
226 | u32 length; | 225 | u32 length; |
227 | 226 | ||
228 | /* | 227 | /* |
@@ -232,13 +231,6 @@ int rt2x00usb_write_tx_data(struct queue_entry *entry, | |||
232 | memset(entry->skb->data, 0, entry->queue->desc_size); | 231 | memset(entry->skb->data, 0, entry->queue->desc_size); |
233 | 232 | ||
234 | /* | 233 | /* |
235 | * Fill in skb descriptor | ||
236 | */ | ||
237 | skbdesc = get_skb_frame_desc(entry->skb); | ||
238 | skbdesc->desc = entry->skb->data; | ||
239 | skbdesc->desc_len = entry->queue->desc_size; | ||
240 | |||
241 | /* | ||
242 | * USB devices cannot blindly pass the skb->len as the | 234 | * USB devices cannot blindly pass the skb->len as the |
243 | * length of the data to usb_fill_bulk_urb. Pass the skb | 235 | * length of the data to usb_fill_bulk_urb. Pass the skb |
244 | * to the driver to determine what the length should be. | 236 | * to the driver to determine what the length should be. |