USB: unnecessary GFP_ATOMIC in mos7720 driver
authorOliver Neukum <oliver@neukum.org>
Tue, 6 Mar 2007 15:21:22 +0000 (16:21 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 20:28:34 +0000 (13:28 -0700)
GFP_KERNEL will do.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/mos7720.c

index 19bf403f9db2026dc8e20d7faea0a4eeba9ee970..4538dc3f3fff322cb485b6f50db70a4f817b2805 100644 (file)
@@ -353,7 +353,7 @@ static int mos7720_open(struct usb_serial_port *port, struct file * filp)
 
        /* Initialising the write urb pool */
        for (j = 0; j < NUM_URBS; ++j) {
-               urb = usb_alloc_urb(0,GFP_ATOMIC);
+               urb = usb_alloc_urb(0,GFP_KERNEL);
                mos7720_port->write_urb_pool[j] = urb;
 
                if (urb == NULL) {