summaryrefslogtreecommitdiff
path: root/drivers/md/raid10.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/raid10.c')
-rw-r--r--drivers/md/raid10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c
index bdd3a7feaea7..968bc83b8597 100644
--- a/drivers/md/raid10.c
+++ b/drivers/md/raid10.c
@@ -3852,7 +3852,7 @@ static struct r10conf *setup_conf(struct mddev *mddev)
}
err = -ENOMEM;
- conf = kzalloc_obj(struct r10conf, GFP_KERNEL);
+ conf = kzalloc_obj(struct r10conf);
if (!conf)
goto out;