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: 10077459 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 8B57D6028E for ; Mon, 27 Nov 2017 17:01:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7A97628E97 for ; Mon, 27 Nov 2017 17:01:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F1CA28F18; Mon, 27 Nov 2017 17:01:54 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1875F28EDC for ; Mon, 27 Nov 2017 17:01:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9946A89F53; Mon, 27 Nov 2017 17:01:53 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.web.de (mout.web.de [217.72.192.78]) by gabe.freedesktop.org (Postfix) with ESMTPS id 099D589F53 for ; Mon, 27 Nov 2017 17:01:51 +0000 (UTC) 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 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= Cc: kernel-janitors@vger.kernel.org, LKML X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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; }