]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
video: auo_k190x: Delete an error message for a failed memory allocation in auok190x_...
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 26 Apr 2018 10:24:18 +0000 (12:24 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 26 Apr 2018 10:24:18 +0000 (12:24 +0200)
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>
drivers/video/fbdev/auo_k190x.c

index 9bf6a6e02342a8dcf0d8f79824f09e3759077ce6..b39681e6f4fd7dc9853c343e89675e3e0106052f 100644 (file)
@@ -1076,7 +1076,6 @@ int auok190x_common_probe(struct platform_device *pdev,
                                     sizeof(struct fb_deferred_io),
                                     GFP_KERNEL);
        if (!info->fbdefio) {
                                     sizeof(struct fb_deferred_io),
                                     GFP_KERNEL);
        if (!info->fbdefio) {
-               dev_err(info->device, "Failed to allocate memory\n");
                ret = -ENOMEM;
                goto err_defio;
        }
                ret = -ENOMEM;
                goto err_defio;
        }