mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
USB: storage: onetouch: unnecessary GFP_ATOMIC
No need to use GFP_ATOMIC to allocate buffers. Signed-off-by: Oliver Neukum <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
46b72d78cb
commit
3756c7c091
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ static int onetouch_connect_input(struct us_data *ss)
|
|||
goto fail1;
|
||||
|
||||
onetouch->data = usb_buffer_alloc(udev, ONETOUCH_PKT_LEN,
|
||||
GFP_ATOMIC, &onetouch->data_dma);
|
||||
GFP_KERNEL, &onetouch->data_dma);
|
||||
if (!onetouch->data)
|
||||
goto fail1;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue