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>
This commit is contained in:
Alexey Khoroshilov 2014-06-27 02:51:24 +04:00 committed by John W. Linville
parent 09ebb81092
commit 5bc5ca85d5
1 changed files with 1 additions and 1 deletions

View File

@ -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;