]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
USB: storage: onetouch: unnecessary GFP_ATOMIC
authorOliver Neukum <oliver@neukum.org>
Sat, 20 Feb 2010 01:03:19 +0000 (02:03 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:55:13 +0000 (14:55 -0800)
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>
drivers/usb/storage/onetouch.c

index 80e65f29921cbed01c80406dddbe838feac5d11a..198bb3ed95b280de8839e8182fd8650196f3ff10 100644 (file)
@@ -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;