summaryrefslogtreecommitdiff
path: root/net/mctp/test/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mctp/test/utils.c')
-rw-r--r--net/mctp/test/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mctp/test/utils.c b/net/mctp/test/utils.c
index 922b2c353a4e..97afe8cd2b05 100644
--- a/net/mctp/test/utils.c
+++ b/net/mctp/test/utils.c
@@ -106,7 +106,7 @@ static struct mctp_test_route *mctp_route_test_alloc(void)
{
struct mctp_test_route *rt;
- rt = kzalloc_obj(*rt, GFP_KERNEL);
+ rt = kzalloc_obj(*rt);
if (!rt)
return NULL;