summaryrefslogtreecommitdiff
path: root/net/caif/cfctrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/caif/cfctrl.c')
-rw-r--r--net/caif/cfctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/caif/cfctrl.c b/net/caif/cfctrl.c
index 566546da4152..c6cc2bfed65d 100644
--- a/net/caif/cfctrl.c
+++ b/net/caif/cfctrl.c
@@ -270,7 +270,7 @@ int cfctrl_linkup_request(struct cflayer *layer,
cfpkt_destroy(pkt);
return -EINVAL;
}
- req = kzalloc_obj(*req, GFP_KERNEL);
+ req = kzalloc_obj(*req);
if (!req) {
cfpkt_destroy(pkt);
return -ENOMEM;