summaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2010-02-20 02:03:19 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 23:55:13 +0100
commit3756c7c091f4ca8bcaf89ee3855a326d69209716 (patch)
tree4856fea159556fb5e1b2b0b1f86df4df726695f3 /drivers/usb/storage
parentUSB: serial: ftdi: add CONTEC vendor and product id (diff)
downloadlinux-3756c7c091f4ca8bcaf89ee3855a326d69209716.tar.xz
linux-3756c7c091f4ca8bcaf89ee3855a326d69209716.zip
USB: storage: onetouch: unnecessary GFP_ATOMIC
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>
Diffstat (limited to 'drivers/usb/storage')
-rw-r--r--drivers/usb/storage/onetouch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/storage/onetouch.c b/drivers/usb/storage/onetouch.c
index 80e65f29921c..198bb3ed95b2 100644
--- a/drivers/usb/storage/onetouch.c
+++ b/drivers/usb/storage/onetouch.c
@@ -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;