summaryrefslogtreecommitdiff
path: root/drivers/media/mc/mc-dev-allocator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/mc/mc-dev-allocator.c')
-rw-r--r--drivers/media/mc/mc-dev-allocator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/mc/mc-dev-allocator.c b/drivers/media/mc/mc-dev-allocator.c
index b8a170aaee04..b700ea73517e 100644
--- a/drivers/media/mc/mc-dev-allocator.c
+++ b/drivers/media/mc/mc-dev-allocator.c
@@ -81,7 +81,7 @@ static struct media_device *__media_device_get(struct device *dev,
return &mdi->mdev;
}
- mdi = kzalloc_obj(*mdi, GFP_KERNEL);
+ mdi = kzalloc_obj(*mdi);
if (!mdi)
return NULL;