Commit c2cf3f6e authored by Oliver Neukum's avatar Oliver Neukum Committed by Greg Kroah-Hartman

USB: unnecessary GFP_ATOMIC in mos7720 driver

GFP_KERNEL will do.
Signed-off-by: default avatarOliver Neukum <oneukum@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 718efa64
...@@ -353,7 +353,7 @@ static int mos7720_open(struct usb_serial_port *port, struct file * filp) ...@@ -353,7 +353,7 @@ static int mos7720_open(struct usb_serial_port *port, struct file * filp)
/* Initialising the write urb pool */ /* Initialising the write urb pool */
for (j = 0; j < NUM_URBS; ++j) { 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; mos7720_port->write_urb_pool[j] = urb;
if (urb == NULL) { if (urb == NULL) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment