From 4920c4aa2d551c0e6b3a56280ba08dafef59d8b1 Mon Sep 17 00:00:00 2001 From: Jingoo Han Date: Tue, 29 Apr 2014 17:35:07 +0900 Subject: [PATCH] gpio: janz-ttl: 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 Reviewed-by: Javier Martinez Canillas Signed-off-by: Linus Walleij --- drivers/gpio/gpio-janz-ttl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpio/gpio-janz-ttl.c b/drivers/gpio/gpio-janz-ttl.c index 2ecd3a09c743..255806bcbfe5 100644 --- a/drivers/gpio/gpio-janz-ttl.c +++ b/drivers/gpio/gpio-janz-ttl.c @@ -158,7 +158,6 @@ static int ttl_probe(struct platform_device *pdev) mod = kzalloc(sizeof(*mod), GFP_KERNEL); if (!mod) { - dev_err(dev, "unable to allocate private data\n"); ret = -ENOMEM; goto out_return; } -- 2.39.5