diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2018-04-26 06:24:18 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-04-26 06:24:18 -0400 |
commit | c24a5e934775865270b1a79a95affadb4289b3d3 (patch) | |
tree | 823c1728cbebb3c79f038fd3480d1d51f0bc996c | |
parent | e281018b0b2562d8b82e6aa7c8647dfb2e4c1b29 (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>
-rw-r--r-- | drivers/video/fbdev/auo_k190x.c | 1 |
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, | |||
1076 | sizeof(struct fb_deferred_io), | 1076 | sizeof(struct fb_deferred_io), |
1077 | GFP_KERNEL); | 1077 | GFP_KERNEL); |
1078 | if (!info->fbdefio) { | 1078 | if (!info->fbdefio) { |
1079 | dev_err(info->device, "Failed to allocate memory\n"); | ||
1080 | ret = -ENOMEM; | 1079 | ret = -ENOMEM; |
1081 | goto err_defio; | 1080 | goto err_defio; |
1082 | } | 1081 | } |