Skip to content

Commit

Permalink
rsi: GFP_ATOMIC is not needed in rsi_init_usb_interface()
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Khoroshilov <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
  • Loading branch information
khoroshilov authored and linvjw committed Jul 1, 2014
1 parent 09ebb81 commit 5bc5ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/rsi/rsi_91x_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5bc5ca8

Please sign in to comment.