浏览代码

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 <elfring@users.sourceforge.net>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Markus Elfring 7 年之前
父节点
当前提交
c24a5e9347
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/video/fbdev/auo_k190x.c

+ 0 - 1
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;
 	}