Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352367
b: refs/heads/master
c: 829323c
h: refs/heads/master
i:
  352365: 2ec1b42
  352363: 24abd17
  352359: 56010f7
  352351: a489f78
v: v3
  • Loading branch information
Larry Finger authored and John W. Linville committed Feb 1, 2013
1 parent 5c0e74c commit 2ae23d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d221ad1a8aa281aec505441602dd9f315d31cfb9
refs/heads/master: 829323cd92d27d7acf128879c96ff1ab34120649
4 changes: 0 additions & 4 deletions trunk/drivers/net/wireless/rtlwifi/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -825,8 +825,6 @@ static void _rtl_usb_transmit(struct ieee80211_hw *hw, struct sk_buff *skb,
u32 ep_num;
struct urb *_urb = NULL;
struct sk_buff *_skb = NULL;
struct sk_buff_head *skb_list;
struct usb_anchor *urb_list;

WARN_ON(NULL == rtlusb->usb_tx_aggregate_hdl);
if (unlikely(IS_USB_STOP(rtlusb))) {
Expand All @@ -836,15 +834,13 @@ static void _rtl_usb_transmit(struct ieee80211_hw *hw, struct sk_buff *skb,
return;
}
ep_num = rtlusb->ep_map.ep_mapping[qnum];
skb_list = &rtlusb->tx_skb_queue[ep_num];
_skb = skb;
_urb = _rtl_usb_tx_urb_setup(hw, _skb, ep_num);
if (unlikely(!_urb)) {
RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
"Can't allocate urb. Drop skb!\n");
return;
}
urb_list = &rtlusb->tx_pending[ep_num];
_rtl_submit_tx_urb(hw, _urb);
}

Expand Down

0 comments on commit 2ae23d2

Please sign in to comment.