Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5bc5ca85 authored by Alexey Khoroshilov's avatar Alexey Khoroshilov Committed by John W. Linville
Browse files

rsi: GFP_ATOMIC is not needed in rsi_init_usb_interface()

parent 09ebb810
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;