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>
This commit is contained in:
Markus Elfring 2018-04-26 12:24:18 +02:00 committed by Bartlomiej Zolnierkiewicz
parent e281018b0b
commit c24a5e9347
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}