diff options
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/rtl8723au/hal/usb_ops_linux.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8723au/hal/usb_ops_linux.c b/drivers/staging/rtl8723au/hal/usb_ops_linux.c index 4ba6b47e6f5b..8e9e61c74bd0 100644 --- a/drivers/staging/rtl8723au/hal/usb_ops_linux.c +++ b/drivers/staging/rtl8723au/hal/usb_ops_linux.c @@ -382,8 +382,7 @@ static void usb_read_interrupt_complete(struct urb *purb) struct evt_work *c2w; int res; - c2w = (struct evt_work *) - kmalloc(sizeof(struct evt_work), + c2w = kmalloc(sizeof(struct evt_work), GFP_ATOMIC); if (!c2w) { |