Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp8059415rdb; Thu, 4 Jan 2024 18:06:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IHTMvnrATyK3vRkAjXQxVe9l43PhRZe1agHKcIXLe98vqqmZMilaK3E76goUsH6bKYUMp08 X-Received: by 2002:a05:6830:1d77:b0:6dc:6fe5:ab with SMTP id l23-20020a0568301d7700b006dc6fe500abmr1511396oti.7.1704420388181; Thu, 04 Jan 2024 18:06:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704420388; cv=none; d=google.com; s=arc-20160816; b=iNhkea3ubEuSVHwN3lqn+CQpAomwSp0aq1FpQF8J0V4XajPNDWRr1zSfOMSouVS+zw LrW+ud+V/cRuw4huFCj1MXmvnHMTePvxQR0ydUpgO/D0sXsP+V+fxpfy4K9DEb7YU8se kgoNgIDSqtIZ1+HzN1Ht98r/HBAImf3Hfpi2S0gxpdeD/66TDV9YhQjdZ5anM/CwqkVq oNIMt9Nw9aM7BRJ4JyW1ME+tneulwE7cuiOwgtMZYVz1d8B+U0XOx+ztX6yTs+pRlWmN bzQAi8BEjHlxHlfEDhEJBRJUqIgW9Ltc3zRviXa6jglvIH0OE7bDF3i+sT7tkehWw/Iw K50w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=+iYkMKpPK2Uge0YjcSRaOjLhW2Tu79m0f62NoOoCk7o=; fh=sJFtwG8DoBeNN8WOEQ5zGqatQmS7GI/qcYs2bXzspLE=; b=veDQEGD940OSx8uIwkeKoW/p0f3DAHjZqztn5+M4cwBs5ihQM5rwaBRQuJshGc9SBr NTtapxAB2fjyTc4adDnHIR9m7IeBFjwKqggP+/XBgMIbmm6SuRFaicarJ8oDyk8knlyW kubp7pibv2adpACItKCq3ZDHc6srmQXMicNd+EmDd3p+wMrZZ0evQypDcd/SUA2skpdz gOz8fnpyDiaMKnTr5HFEdGakE5bY6bpvmZ2Xew2jjpmrLjRAcS7aACHb6xUtC7Z/ssYn 4nAvlT+uTAYvJg9xNIbGJmYX4Hygp6o580rBzJX9xEqgKILwRXLrqtp78TWyq9QoR+BN bkyQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-17402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17402-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t26-20020a056a00139a00b006d982e6bcb8si470675pfg.326.2024.01.04.18.06.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 18:06:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-17402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17402-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D2954286506 for ; Fri, 5 Jan 2024 02:06:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0CDD91FD9; Fri, 5 Jan 2024 02:06:21 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from out30-133.freemail.mail.aliyun.com (out30-133.freemail.mail.aliyun.com [115.124.30.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 404021FA5; Fri, 5 Jan 2024 02:06:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045176;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0Vzyy6kx_1704420362; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Vzyy6kx_1704420362) by smtp.aliyun-inc.com; Fri, 05 Jan 2024 10:06:08 +0800 From: Jiapeng Chong To: deller@gmx.de Cc: linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] fbdev/vt8500lcdfb: Remove unnecessary print function dev_err() Date: Fri, 5 Jan 2024 10:06:01 +0800 Message-Id: <20240105020601.67654-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The print function dev_err() is redundant because platform_get_irq() already prints an error. ./drivers/video/fbdev/vt8500lcdfb.c:377:2-9: line 377 is redundant because platform_get_irq() already prints an error. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7824 Signed-off-by: Jiapeng Chong --- drivers/video/fbdev/vt8500lcdfb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/vt8500lcdfb.c b/drivers/video/fbdev/vt8500lcdfb.c index 42c25dc85197..ac73937073a7 100644 --- a/drivers/video/fbdev/vt8500lcdfb.c +++ b/drivers/video/fbdev/vt8500lcdfb.c @@ -374,7 +374,6 @@ static int vt8500lcd_probe(struct platform_device *pdev) irq = platform_get_irq(pdev, 0); if (irq < 0) { - dev_err(&pdev->dev, "no IRQ defined\n"); ret = -ENODEV; goto failed_free_palette; } -- 2.20.1.7.g153144c