net: hso: Use GFP_KERNEL instead of GFP_ATOMIC when possible
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 14 Feb 2022 19:09:06 +0000 (20:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Feb 2022 14:34:29 +0000 (14:34 +0000)
commit25ce79db8042d364fe957d51e734f14d5b0c933a
tree3b62c97105f74409548d0519545294210854fe97
parent4f50ef152ec652cf1f1d3031019828b170406ebf
net: hso: Use GFP_KERNEL instead of GFP_ATOMIC when possible

hso_create_device() is only called from function that already use
GFP_KERNEL. And all the callers are called from the probe function.

So there is no need here to explicitly require a GFP_ATOMIC when
allocating memory.

Use GFP_KERNEL instead.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/hso.c