diff options
author | Oliver Neukum <oliver@neukum.org> | 2007-03-06 18:21:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-28 00:28:34 +0400 |
commit | c2cf3f6ec58cf1d9e2a92cd74506dcf2265b31a1 (patch) | |
tree | 4621be3f5dc655e19a68758b27f589a5a6c34ea3 /drivers/usb/serial/mos7720.c | |
parent | 718efa64e30a5e9db0351d70c5a91969306a12d1 (diff) | |
download | linux-c2cf3f6ec58cf1d9e2a92cd74506dcf2265b31a1.tar.xz |
USB: unnecessary GFP_ATOMIC in mos7720 driver
GFP_KERNEL will do.
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/mos7720.c')
-rw-r--r-- | drivers/usb/serial/mos7720.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c index 19bf403f9db2..4538dc3f3fff 100644 --- a/drivers/usb/serial/mos7720.c +++ b/drivers/usb/serial/mos7720.c @@ -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) { |