summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2018-04-26 12:24:18 +0200
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-04-26 12:24:18 +0200
commitc24a5e934775865270b1a79a95affadb4289b3d3 (patch)
tree823c1728cbebb3c79f038fd3480d1d51f0bc996c /drivers/video
parente281018b0b2562d8b82e6aa7c8647dfb2e4c1b29 (diff)
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>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/auo_k190x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/fbdev/auo_k190x.c b/drivers/video/fbdev/auo_k190x.c
index 9bf6a6e02342..b39681e6f4fd 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;
}