forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
718efa64e3
commit
c2cf3f6ec5
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user