Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1319907pxb; Wed, 2 Feb 2022 02:06:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJy+DWwXsbtL/T2SlsCOF2235lujIjelAgbYo2n+IZ1H93bzAikIbilgC6JIz+mEdy2zEIx+ X-Received: by 2002:a63:88c6:: with SMTP id l189mr24031587pgd.229.1643796399675; Wed, 02 Feb 2022 02:06:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643796399; cv=none; d=google.com; s=arc-20160816; b=pYhW7HcHH6EY9nmcEdLI6ET7Ztk9O9Uy6al7X6zfPdiiZqbSgiSYEhVr4+zIqjsiZt 9eyGCy+I4PVA3pbXBlDgkA9OjwZsM1aMOOU0po5iqwCr3MGWcmnNGdSoFoYuTjoqFKQt paetG5bv+bRb0x0iVbX6NVQc1k4qWawhAppMgQkzk2/s/jjbEVO0qUbGx8I02hyGvACP comkcgJruvcsQeOSgIJaH/yNsb5nSjvVWhvWo8gRRlCE0EGFkJiZDy209JZwy9mkCRf4 C0J/Qqr3aTwNG19HOSVe94QB5N4DLZBQ9tJ3lJjQ6lZl6HCJp5QSKez0f8BXem96lehn GNRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=zj8fGsUhrxLymi2Ii8dvtT5hTuAQrsNW4LNFBaszP8A=; b=hM3Pl4Jnl9+PGROmMCB9gTBcwGfeL8jqs80mm27Tosfl6brHXEAPaiA8Ngef25XVCk wrQU5iqxwYROjrtaVQMCdNwO5auxQsvNWf6YKz4avDIgeK1Zhv6jeNga6eNc+eUZzEP7 cge30LXdGJe5nCJvuysUs5eOqv6xS9G1x5NbZ4exwd+IFCbXch/rCjCBntpfDudip4iK 5fN47g2si/YESgsocAOgR+nhAWNj0g658Ax3nRbkuGEjS8DJJiQ5Q9dgHA4OVBoK6DHg 4C9+Cpvn0Z//b5x25s4a6Y9NcUSuZFAcYjkIJIKdZM4opRBOxLZEZSIXrYG0AyN+hBGG NUkA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s1si17153354plr.215.2022.02.02.02.06.27; Wed, 02 Feb 2022 02:06:39 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234017AbiBAG0j (ORCPT + 99 others); Tue, 1 Feb 2022 01:26:39 -0500 Received: from out30-56.freemail.mail.aliyun.com ([115.124.30.56]:55733 "EHLO out30-56.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233963AbiBAG0h (ORCPT ); Tue, 1 Feb 2022 01:26:37 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R601e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04407;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0V3MiMFH_1643696794; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V3MiMFH_1643696794) by smtp.aliyun-inc.com(127.0.0.1); Tue, 01 Feb 2022 14:26:35 +0800 From: Yang Li To: deller@gmx.de Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next 1/2] video: fbdev: pxa168fb: Remove unnecessary print function dev_err() Date: Tue, 1 Feb 2022 14:26:32 +0800 Message-Id: <20220201062633.102519-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The print function dev_err() is redundant because platform_get_irq() already prints an error. Eliminate the follow coccicheck warning: ./drivers/video/fbdev/pxa168fb.c:621:2-9: line 621 is redundant because platform_get_irq() already prints an error Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/video/fbdev/pxa168fb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/pxa168fb.c b/drivers/video/fbdev/pxa168fb.c index c25739f6934d..d533c0bf7031 100644 --- a/drivers/video/fbdev/pxa168fb.c +++ b/drivers/video/fbdev/pxa168fb.c @@ -618,7 +618,6 @@ static int pxa168fb_probe(struct platform_device *pdev) irq = platform_get_irq(pdev, 0); if (irq < 0) { - dev_err(&pdev->dev, "no IRQ defined\n"); return -ENOENT; } -- 2.20.1.7.g153144c