linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Potential problem in drivers/net/wireless/rtlwifi/usb.c:_rtl_rx_pre_process()
@ 2013-01-27 21:18 Guenter Roeck
  2013-01-27 22:11 ` Larry Finger
  0 siblings, 1 reply; 3+ messages in thread
From: Guenter Roeck @ 2013-01-27 21:18 UTC (permalink / raw)
  To: linux-wireless, netdev; +Cc: Larry Finger, Chaoming Li, John W. Linville

Hi all,

while browsing through 'warning: variable ‘...’ set but not used' warnings, I
found the following code in drivers/net/wireless/rtlwifi/usb.c:_rtl_rx_pre_process().

	while (!skb_queue_empty(&rx_queue)) {
        	_skb = skb_dequeue(&rx_queue);
		_rtl_usb_rx_process_agg(hw, skb);
		ieee80211_rx_irqsafe(hw, skb);
	}

Question: Should the parameter to _rtl_usb_rx_process_agg() and
ieee80211_rx_irqsafe() be '_skb' instead of 'skb' ?

Thanks,
Guenter

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-27 23:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-27 21:18 Potential problem in drivers/net/wireless/rtlwifi/usb.c:_rtl_rx_pre_process() Guenter Roeck
2013-01-27 22:11 ` Larry Finger
2013-01-27 23:52   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).