summaryrefslogtreecommitdiff
path: root/net/devlink/dpipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/devlink/dpipe.c')
-rw-r--r--net/devlink/dpipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/devlink/dpipe.c b/net/devlink/dpipe.c
index 3b86dc25e7f2..c8d4a4374ae1 100644
--- a/net/devlink/dpipe.c
+++ b/net/devlink/dpipe.c
@@ -851,7 +851,7 @@ int devl_dpipe_table_register(struct devlink *devlink,
devlink))
return -EEXIST;
- table = kzalloc_obj(*table, GFP_KERNEL);
+ table = kzalloc_obj(*table);
if (!table)
return -ENOMEM;