diff options
Diffstat (limited to 'drivers/mtd/maps/plat-ram.c')
-rw-r--r-- | drivers/mtd/maps/plat-ram.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/maps/plat-ram.c b/drivers/mtd/maps/plat-ram.c index 76ace85ccdc6..d597e89f2692 100644 --- a/drivers/mtd/maps/plat-ram.c +++ b/drivers/mtd/maps/plat-ram.c | |||
@@ -137,7 +137,6 @@ static int platram_probe(struct platform_device *pdev) | |||
137 | 137 | ||
138 | info = kzalloc(sizeof(*info), GFP_KERNEL); | 138 | info = kzalloc(sizeof(*info), GFP_KERNEL); |
139 | if (info == NULL) { | 139 | if (info == NULL) { |
140 | dev_err(&pdev->dev, "no memory for flash info\n"); | ||
141 | err = -ENOMEM; | 140 | err = -ENOMEM; |
142 | goto exit_error; | 141 | goto exit_error; |
143 | } | 142 | } |