diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2014-06-27 02:51:24 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-07-01 14:26:26 -0400 |
commit | 5bc5ca85d54e0176cb967f550093f42bb0d65b67 (patch) | |
tree | 65b653f91438eb43f8889551aa036bd0e2592044 /drivers/net/wireless/rsi | |
parent | 09ebb810927a110e4c354beb20308830d108a54b (diff) | |
download | linux-5bc5ca85d54e0176cb967f550093f42bb0d65b67.tar.gz linux-5bc5ca85d54e0176cb967f550093f42bb0d65b67.tar.bz2 linux-5bc5ca85d54e0176cb967f550093f42bb0d65b67.zip |
rsi: GFP_ATOMIC is not needed in rsi_init_usb_interface()
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rsi')
-rw-r--r-- | drivers/net/wireless/rsi/rsi_91x_usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rsi/rsi_91x_usb.c b/drivers/net/wireless/rsi/rsi_91x_usb.c index 3226f19989e7..f89695abafcd 100644 --- a/drivers/net/wireless/rsi/rsi_91x_usb.c +++ b/drivers/net/wireless/rsi/rsi_91x_usb.c @@ -397,7 +397,7 @@ static int rsi_init_usb_interface(struct rsi_hw *adapter, return -ENOMEM; } - rsi_dev->tx_buffer = kmalloc(2048, GFP_ATOMIC); + rsi_dev->tx_buffer = kmalloc(2048, GFP_KERNEL); rsi_dev->rx_usb_urb[0] = usb_alloc_urb(0, GFP_KERNEL); rsi_dev->rx_usb_urb[0]->transfer_buffer = adapter->priv->rx_data_pkt; rsi_dev->tx_blk_size = 252; |