Эх сурвалжийг харах

gpio: em: 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>
Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Jingoo Han 11 жил өмнө
parent
commit
d4c4f88338

+ 0 - 1
drivers/gpio/gpio-em.c

@@ -284,7 +284,6 @@ static int em_gio_probe(struct platform_device *pdev)
 
 
 	p = devm_kzalloc(&pdev->dev, sizeof(*p), GFP_KERNEL);
 	p = devm_kzalloc(&pdev->dev, sizeof(*p), GFP_KERNEL);
 	if (!p) {
 	if (!p) {
-		dev_err(&pdev->dev, "failed to allocate driver data\n");
 		ret = -ENOMEM;
 		ret = -ENOMEM;
 		goto err0;
 		goto err0;
 	}
 	}