From patchwork Mon Nov 27 17:01:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 10077461 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 579466028E for ; Mon, 27 Nov 2017 17:02:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4603F28EDC for ; Mon, 27 Nov 2017 17:02:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3AD0028F3A; Mon, 27 Nov 2017 17:02:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E8B6428F18 for ; Mon, 27 Nov 2017 17:02:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753590AbdK0RB7 (ORCPT ); Mon, 27 Nov 2017 12:01:59 -0500 Received: from mout.web.de ([217.72.192.78]:55099 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932086AbdK0RB5 (ORCPT ); Mon, 27 Nov 2017 12:01:57 -0500 Received: from [192.168.1.3] ([77.182.143.129]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0Meji8-1eUK3c3QbI-00OD3U; Mon, 27 Nov 2017 18:01:45 +0100 To: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Bartlomiej Zolnierkiewicz , Ingo Molnar Cc: LKML , kernel-janitors@vger.kernel.org From: SF Markus Elfring Subject: [PATCH] video: auo_k190x: Delete an error message for a failed memory allocation in auok190x_common_probe() Message-ID: <757f0d7c-e356-2e69-46e6-0bf5067877e1@users.sourceforge.net> Date: Mon, 27 Nov 2017 18:01:41 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 Content-Language: en-GB X-Provags-ID: V03:K0:sgbCoJ9efFjKX0jriSG6V3FnG/lEAiyvwvoP7ysUAh35GLRcnAf tCrYANDCpb+cn+mWHRscQb0N/QF4Vifg7OpcGgRpc3c9/DtFD7RuSwqIBK30O1jJxHBlMZa 5oatYouPtDqlA+h8ZrlFgfrVRPquX2ISQ/7e551UNsI8bUHZYvgEmGhdJkgoDllvjUraeUt VlGccw7PFAy15Y2GKVKkw== X-UI-Out-Filterresults: notjunk:1; V01:K0:FIxRgEEuJ94=:WEHHcnvWoORioSla7pefs5 RCj/00U5SlEmu4CoPW9hzrpeO3Y2RnryhD80qO5EiBrIzEwhhObIQ7kmVdDVUxpRoqjZ4LvzJ BKnOpu/YItnek697X/eV05phHR6M2ooVUUY+Qx5XHkQkb31L8nygNlXE4FIvxp5OdHIVa7i9A LTTuDCV1ENi/KT2w0Y8X3mCwr3t+gJWO8bZUi7DgpqxrfD1FCeZPQapB4niKANZDaPM0ID9sn V/8tj5Cb86aDH5CRBVH8VSXruewukM/Esry0TmHiYLEU4re03Rl6Ze9fAGgpKwKu/6nwyzgC8 gju/sBYAiv/QB5URqh/fU70s6tOn8oWERJGBsZqF/axOHcVk7ZYolyp+BKMqKO+0o3DAfPUx8 Hi3VjUQrBuzUyHCCbzwqQTJL936HBu//Fb43xXErEh8A/LuLuusvVKYhynvU5bGzfgJZvkN4T 90vX8dOQ2oAtcVkI578c6jnsMSSEzApzHfMMEtWlMD64EgcE9ohgkzf4MbAbKFqamYbtGo72u ymDn4UlZXbcJTGud4hLbT8AUAFCavXVItuF+t1RfaCdrd+hBzG8upXTuzQ3Zj9QPCyFgm8UHl gIIEirfyW3F7W/GtP9KR4bnEeUk5uFmtB3mq6VgbWGzaN21pzDz6pYaaCdU7bmxRaFQ/h8wZT +py1db5q5Swp+RMOSIPquonfUXVIA5PzXfCn/fWRTNj1nfF0+kaqOTLgG/OeanADdPgCivH/H 71mTiQzwpx+MxAq4ETMCy+A+bNpTeLRpzchBVvhxrLuEh7VK12XUJ3Yx70rlS8ChlKsF3epQZ z9qPhcldSCH4Utn8PcankLffQ4wwHSMdSNjBjKN2yfQugpBB8k= Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Mon, 27 Nov 2017 17:53:05 +0100 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 --- drivers/video/fbdev/auo_k190x.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/auo_k190x.c b/drivers/video/fbdev/auo_k190x.c index 0d06038324e0..971d155d250f 100644 --- a/drivers/video/fbdev/auo_k190x.c +++ b/drivers/video/fbdev/auo_k190x.c @@ -1081,7 +1081,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; }