USB: storage: onetouch: unnecessary GFP_ATOMIC
Oliver Neukum [Sat, 20 Feb 2010 01:03:19 +0000 (02:03 +0100)]
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 80e65f2..198bb3e 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;