Skip to content

Commit

Permalink
USB: storage: onetouch: unnecessary GFP_ATOMIC
Browse files Browse the repository at this point in the history
No need to use GFP_ATOMIC to allocate buffers.

Signed-off-by: Oliver Neukum <neukum@b1-systems.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Oliver Neukum authored and Greg Kroah-Hartman committed Mar 2, 2010
1 parent 46b72d7 commit 3756c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/storage/onetouch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 3756c7c

Please sign in to comment.