Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2102331pxb; Wed, 2 Feb 2022 22:07:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJwp54EGpSDaF6iSJUNwHshVhapA2MeEL4mIcPSCOxx5uuPw3aI57f9cdc+CpDFIU/5etz2n X-Received: by 2002:a63:b90f:: with SMTP id z15mr27569363pge.73.1643868448560; Wed, 02 Feb 2022 22:07:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643868448; cv=none; d=google.com; s=arc-20160816; b=r8MDLht926QyFd9ie0MNq55S+NqOzZJRrYoCCXBhyl33yL/Gh1W1AQsvRjYtUISJ+m QjS/T5Jkt8gBtyJYeQV7XBmdoP+vdck0xSVfXL1uNfMGzfNS00ZOm5n9OBMTw8c9PdMh nt+qUdY2Bg+zK2JUtJBfSiIV9aD+5smHhs7OrrA4ASM2lyIgjLfLJA8m9MM1KEWgBE7w D6qZtciyjgDv4PHXicrlAUQLMR3QyizXPuxb7N7fBk/GlFFRd5DajdfgVLu0vQvH1MLC d5hAZGBF7XXuhcxzaerfFuSc8d9aJ18L9zvsScBVIaPAoWzOtl1PNIIrhObzP6wPv+dX rPvQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=uzCWcSz+++agxD8gZqFx1P+7yr6Df0ugfuyH4wM2Ja8=; b=Zjhz+a/A3ub1b07iucgDhHbeUaURvKlDpn/0mhJs/5mr6el6VUkpyFQ8zTETfLXJne U7DFtA188WGpmjOAEa4A8y8aWYM3ADdKrfpj5YlsuQW9Phc/G8wTFXw1C5vrGwhOPogI ttztQmHqXjAf06YTeyuRgUtymYuD79LpjXTuaTDBYZAnXZL6Ls5KJ39XogMN9zm0oOlZ zErSqyuyrPJULFP7dmen2654I87SZ4CpXvuuqTKPfito2bfilvA1Y61bRMUCuAGIgigl slCITP38NnUAaIPPMWW61d/mkRElGz4+2M1fn+Gq1GwY+AWrsi3lCLBWbUDFiMTuOHRv nWjA== 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 w18si23398298pfu.290.2022.02.02.22.07.03; Wed, 02 Feb 2022 22:07: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; 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 S234078AbiBAG0m (ORCPT + 99 others); Tue, 1 Feb 2022 01:26:42 -0500 Received: from out30-131.freemail.mail.aliyun.com ([115.124.30.131]:57970 "EHLO out30-131.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234051AbiBAG0l (ORCPT ); Tue, 1 Feb 2022 01:26:41 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R111e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04395;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0V3Mz0Lg_1643696798; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V3Mz0Lg_1643696798) by smtp.aliyun-inc.com(127.0.0.1); Tue, 01 Feb 2022 14:26:39 +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 2/2] video: fbdev: pxa3xx-gcu: Remove unnecessary print function dev_err() Date: Tue, 1 Feb 2022 14:26:33 +0800 Message-Id: <20220201062633.102519-2-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c In-Reply-To: <20220201062633.102519-1-yang.lee@linux.alibaba.com> References: <20220201062633.102519-1-yang.lee@linux.alibaba.com> 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/pxa3xx-gcu.c:615:2-9: line 615 is redundant because platform_get_irq() already prints an error Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/video/fbdev/pxa3xx-gcu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/pxa3xx-gcu.c b/drivers/video/fbdev/pxa3xx-gcu.c index 9239ecd34169..ea52c018bb51 100644 --- a/drivers/video/fbdev/pxa3xx-gcu.c +++ b/drivers/video/fbdev/pxa3xx-gcu.c @@ -612,7 +612,6 @@ static int pxa3xx_gcu_probe(struct platform_device *pdev) /* request the IRQ */ irq = platform_get_irq(pdev, 0); if (irq < 0) { - dev_err(dev, "no IRQ defined: %d\n", irq); return irq; } -- 2.20.1.7.g153144c