mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
media: mceusb: Avoid GFP_ATOMIC where it is not needed
There is no point in using GFP_ATOMIC here. It is a probe function, and GFP_KERNEL is already used the line before and the line after. Use GFP_KERNEL instead. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
1451b93223
commit
ddecfc7697
1 changed files with 1 additions and 1 deletions
|
@ -1726,7 +1726,7 @@ static int mceusb_dev_probe(struct usb_interface *intf,
|
|||
goto mem_alloc_fail;
|
||||
|
||||
ir->pipe_in = pipe;
|
||||
ir->buf_in = usb_alloc_coherent(dev, maxp, GFP_ATOMIC, &ir->dma_in);
|
||||
ir->buf_in = usb_alloc_coherent(dev, maxp, GFP_KERNEL, &ir->dma_in);
|
||||
if (!ir->buf_in)
|
||||
goto buf_in_alloc_fail;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue