Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1413481rwb; Mon, 7 Nov 2022 01:06:28 -0800 (PST) X-Google-Smtp-Source: AMsMyM6TURrF06Y36Plioxdla5C6h9cEt9xn+FZFLon1go2mMoaCGED5O/WxlOsCQAQJPoeiDEar X-Received: by 2002:a17:907:a4e:b0:77d:94d:8148 with SMTP id be14-20020a1709070a4e00b0077d094d8148mr45000611ejc.607.1667811988390; Mon, 07 Nov 2022 01:06:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667811988; cv=none; d=google.com; s=arc-20160816; b=Ub8Li0YaJaYFC8muUyFE9VYLcbZwnF7TyZVQRt11MPvpq5OvIlVKJoJNc7cMEqjJ5K SkjJzqt5aQfCWHAjPD1Jk/isB3w1abuiYhzFkGmv7WOtVCD4NZj3GK4CrXRdsrUKdX3H G+wMBimKl1yHqQYUQYn8SkG0JhWeMHRnBLVbHPs4qZC2ioMUn/7s7S6xNrPbzkGA8H3p w6u9uud4CzKoIrLHX2apfzCCUX84HfX9beTeMrz1JeFBTlJjr546n8EGJm1gFWAYzFzc M/8s869gvtzAOsbB+GDhVSkyJ/CVCS415zuqtHf1Wz4BNTGusoeusf8EvD9V8jKJXWSR a8Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=WzvPlnTvW70s2IWQiX0zhQrKdU1s4JC3IRAH736t2rE=; b=vYn7+tFAPNgAaglbq0gjnSDPwpkDnR1eIkzQv2+6vrUe2m7XNrSXQJ2ukSwQ5BCim7 Kgvnq+P2pveYYVc4CnVoH/s+T9AjsW1//eciRjBJMu6z5TLN5xDx4NZeojgi+a7/ugN1 2DABteUt0MDZvS+c/h79gYK37XNnle36lEotIjqF1eT0VpQrTCiZIE4cUICrVTfWcNxr Nb4kIXta8bvxJVcdcOLZFU47Xs1zqinjYn7zT60SP/F7psye+BKl9v7U2/FsQ28/KnUm hIdQKt5EU5HIVleRQ+7xykjt38k36NrWKXPquG9Ie/mSDK+JAagvek/yFva51to4JmpK yofg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=nlsygfpq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y22-20020a50e616000000b004616aff8436si7960534edm.83.2022.11.07.01.06.06; Mon, 07 Nov 2022 01:06:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=nlsygfpq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231455AbiKGIw5 (ORCPT + 95 others); Mon, 7 Nov 2022 03:52:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbiKGIw4 (ORCPT ); Mon, 7 Nov 2022 03:52:56 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 180C115709; Mon, 7 Nov 2022 00:52:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1667811157; bh=iRI7W/QU1cJZbiWjVLUSX5kKamrVwlbhRdK3X5/OYJc=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=nlsygfpqZU/71gN7QJEp82YXz7fNG+Ipuq5rAqofcc5tYsGdwHTz9Z9CLPBg1QRa/ mbTP3VCMxbKWJ8pZhQKxkf86KQyLupdoC2wuh8H9q9JXViU8ot90e2HU6xRJIcsz4H V3J870dLBLn22gYFqkuK9clBFV1v8vOu0bTdfjcs4dhysuDsrEdBiwbcbywo3CHxFK gVjl7NLmcQpgZtWZiJCXjRVxobowLGR7CB7E+ti2wSY9QjeNEjRHbvhv3uzaUzgHM2 T8CePU4+OwqC5Vw9q53+lFT+Ig3ox6KXT4vpgwsXX8GrMiMqHph7dYj97/09vORK11 Eun2ScIMnnmFQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.20.60] ([92.116.191.140]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MhU9Z-1pWGQg08xf-00ehBl; Mon, 07 Nov 2022 09:52:37 +0100 Message-ID: <5e52528f-e4a7-0aa5-b795-0cff80a153ce@gmx.de> Date: Mon, 7 Nov 2022 09:52:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH] video: fbdev: pxafb: Remove unnecessary print function dev_err() Content-Language: en-US To: arnd@arndb.de, b.zolnierkie@samsung.com, robert.jarzmik@free.fr, ulf.hansson@linaro.org, wangqing@vivo.com Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <278d64e0.bd.1844d4c7a95.Coremail.wangkailong@jari.cn> From: Helge Deller In-Reply-To: <278d64e0.bd.1844d4c7a95.Coremail.wangkailong@jari.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:vgxJ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Ijh6qVZ+P3GE0iGJuZteeLjtWxBmMz5kvijXH/WMPQ/eFyVaZ8TSwd0ozHSfNpWfWtj +BkT2BF4VDA7MGwft50GbL7eeu3xnm5fRrx3KiNTlq7n+bSt//b4LQai0DA6IhF5HuXS1kGyN kQJWeYCCVoXhbKdpjnDgVfeoNsc= X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/6/22 15:16, wangkailong@jari.cn wrote: > Eliminate the follow coccicheck warning: > > ./drivers/video/fbdev/pxafb.c:2330:2-9: line 2330 is redundant because > platform_get_irq() already prints an error > > Signed-off-by: KaiLong Wang applied. Thanks! Helge > --- > drivers/video/fbdev/pxafb.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/video/fbdev/pxafb.c b/drivers/video/fbdev/pxafb.c > index 696ac5431180..c46ed78298ae 100644 > --- a/drivers/video/fbdev/pxafb.c > +++ b/drivers/video/fbdev/pxafb.c > @@ -2327,7 +2327,6 @@ static int pxafb_probe(struct platform_device *dev= ) > > irq =3D platform_get_irq(dev, 0); > if (irq < 0) { > - dev_err(&dev->dev, "no IRQ defined\n"); > ret =3D -ENODEV; > goto failed_free_mem; > }