mtd: plat-ram: Remove unnecessary OOM messages
The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
c00cb1b774
commit
e61e4f40b1
@ -137,7 +137,6 @@ static int platram_probe(struct platform_device *pdev)
|
|||||||
|
|
||||||
info = kzalloc(sizeof(*info), GFP_KERNEL);
|
info = kzalloc(sizeof(*info), GFP_KERNEL);
|
||||||
if (info == NULL) {
|
if (info == NULL) {
|
||||||
dev_err(&pdev->dev, "no memory for flash info\n");
|
|
||||||
err = -ENOMEM;
|
err = -ENOMEM;
|
||||||
goto exit_error;
|
goto exit_error;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user