mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
staging: rtl8192u: Change type of rtl8192_rx_initiate()
Change type of function rtl8192_rx_initiate from int to void as it always returns 0 and this value is never used. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c0b8646c73
commit
e6e70326d6
@ -713,7 +713,7 @@ static u32 get_rxpacket_shiftbytes_819xusb(struct ieee80211_rx_stats *pstats)
|
||||
+ pstats->RxBufShift);
|
||||
}
|
||||
|
||||
static int rtl8192_rx_initiate(struct net_device *dev)
|
||||
static void rtl8192_rx_initiate(struct net_device *dev)
|
||||
{
|
||||
struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
|
||||
struct urb *entry;
|
||||
@ -763,8 +763,6 @@ static int rtl8192_rx_initiate(struct net_device *dev)
|
||||
skb_queue_tail(&priv->rx_queue, skb);
|
||||
usb_submit_urb(entry, GFP_KERNEL);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void rtl8192_set_rxconf(struct net_device *dev)
|
||||
|
Loading…
Reference in New Issue
Block a user