Commit 2244e1a1 authored by Chas Williams's avatar Chas Williams Committed by Hideaki Yoshifuji

[ATM]: Remove unnecessary GFP_ATOMIC allocation (from levon@movementarian.org)

parent 0fd9afc6
......@@ -30,7 +30,7 @@ static struct atm_dev *__alloc_atm_dev(const char *type)
{
struct atm_dev *dev;
dev = kmalloc(sizeof(*dev), GFP_ATOMIC);
dev = kmalloc(sizeof(*dev), GFP_KERNEL);
if (!dev)
return NULL;
memset(dev, 0, sizeof(*dev));
......
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