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 acf3282fc13e..a4f0551422ae 100644 --- a/drivers/net/wireless/rt2x00/rt2x00usb.c +++ b/drivers/net/wireless/rt2x00/rt2x00usb.c | |||
@@ -221,7 +221,6 @@ int rt2x00usb_write_tx_data(struct queue_entry *entry, | |||
221 | struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev; | 221 | struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev; |
222 | struct usb_device *usb_dev = to_usb_device_intf(rt2x00dev->dev); | 222 | struct usb_device *usb_dev = to_usb_device_intf(rt2x00dev->dev); |
223 | struct queue_entry_priv_usb *entry_priv = entry->priv_data; | 223 | struct queue_entry_priv_usb *entry_priv = entry->priv_data; |
224 | struct skb_frame_desc *skbdesc; | ||
225 | u32 length; | 224 | u32 length; |
226 | 225 | ||
227 | /* | 226 | /* |
@@ -231,13 +230,6 @@ int rt2x00usb_write_tx_data(struct queue_entry *entry, | |||
231 | memset(entry->skb->data, 0, entry->queue->desc_size); | 230 | memset(entry->skb->data, 0, entry->queue->desc_size); |
232 | 231 | ||
233 | /* | 232 | /* |
234 | * Fill in skb descriptor | ||
235 | */ | ||
236 | skbdesc = get_skb_frame_desc(entry->skb); | ||
237 | skbdesc->desc = entry->skb->data; | ||
238 | skbdesc->desc_len = entry->queue->desc_size; | ||
239 | |||
240 | /* | ||
241 | * USB devices cannot blindly pass the skb->len as the | 233 | * USB devices cannot blindly pass the skb->len as the |
242 | * length of the data to usb_fill_bulk_urb. Pass the skb | 234 | * length of the data to usb_fill_bulk_urb. Pass the skb |
243 | * to the driver to determine what the length should be. | 235 | * to the driver to determine what the length should be. |