Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3756c7c0 authored by Oliver Neukum's avatar Oliver Neukum Committed by Greg Kroah-Hartman
Browse files

USB: storage: onetouch: unnecessary GFP_ATOMIC



No need to use GFP_ATOMIC to allocate buffers.

Signed-off-by: default avatarOliver Neukum <neukum@b1-systems.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 46b72d78
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;