forked from Minki/linux
mtd: bf5xx_nand: 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> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
ce3737f047
commit
aad0753183
@ -745,7 +745,6 @@ static int bf5xx_nand_probe(struct platform_device *pdev)
|
||||
|
||||
info = kzalloc(sizeof(*info), GFP_KERNEL);
|
||||
if (info == NULL) {
|
||||
dev_err(&pdev->dev, "no memory for flash info\n");
|
||||
err = -ENOMEM;
|
||||
goto out_err_kzalloc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user