From: Markus Elfring Date: Thu, 26 Apr 2018 10:24:18 +0000 (+0200) Subject: video: auo_k190x: Delete an error message for a failed memory allocation in auok190x_... X-Git-Tag: v5.15~6020^2~210 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c24a5e934775865270b1a79a95affadb4289b3d3;p=platform%2Fkernel%2Flinux-starfive.git video: auo_k190x: Delete an error message for a failed memory allocation in auok190x_common_probe() Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Cc: Ingo Molnar Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/video/fbdev/auo_k190x.c b/drivers/video/fbdev/auo_k190x.c index 9bf6a6e..b39681e 100644 --- a/drivers/video/fbdev/auo_k190x.c +++ b/drivers/video/fbdev/auo_k190x.c @@ -1076,7 +1076,6 @@ int auok190x_common_probe(struct platform_device *pdev, sizeof(struct fb_deferred_io), GFP_KERNEL); if (!info->fbdefio) { - dev_err(info->device, "Failed to allocate memory\n"); ret = -ENOMEM; goto err_defio; }