Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp189683pxj; Thu, 3 Jun 2021 04:23:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYIJcm0d4JYyv8jGuT7vzfehZBKjQiGrqZ8VDGNADRLV49bxtFkzFH5yAPWStkpm6Y4Ewv X-Received: by 2002:a17:906:16cb:: with SMTP id t11mr12273744ejd.112.1622719394857; Thu, 03 Jun 2021 04:23:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622719394; cv=none; d=google.com; s=arc-20160816; b=sPOS2FWv5myOpZJKPGMgRLb7TMyauHl3CPmd0H/gZSZsKf4YG5QEIeclo28M2UQaF+ BkdVFhDqAz1kvHxWVdZPV0ZIFhz/6kh6YBkaJI1CAKDy87BiXALmZC0sp1eGl91zSkpc 68zcD7E8g3TEDk4V4W9tqWZioSG9fLSxsh50djYl823p/86D4T7HrEeCPUtlXN5g5bZD 8PYbsSXz7bOpFk/eKZ6SdyMReedHv1fLGNE3hVcBcrLL8wAwpFoYoYEpleLgT1GWbz4T +Qlok6ciMxAnVW+2j4z33K4NX5/1lkH2uK8xA3cM+DP2jIQcDVgSXSrw9RfofxffLOym JSuA== 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=sQfH+irMAPUhmUtONche1E4kuINsSXATO4VMUgBT0MA=; b=vm3WlkxWVKHKQAXx8LET/Ady75NnU8aLeydJPsUJ/XtCR7fpysoqyzlCWLE9jKEag3 bU7g6f947pf5ktZBqVpk3AJx+4FFwDSbpRZ05qqz2xBG9++FZHY93coobpifoaBRchNR FOSOQor9nQHG+H9+bQJaSDfQ8V2z4NVJMStoipsrXHcj8rQF+NcTR0xAoesxFH8lX2XR gziDHFS0pehETtd4e/mIUfUxUdCBNvJx8l1MxqgXk/KlGk4OxFbFjvvnE6RHSv8LVxuh p4odewFqYuRPdxIbNpKBCUmpEGyoCtyK6jgY0qhvxBR8e/Sw5uEA9Zr7/ls4ODDK2wu0 Abjw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f22si1964358ejl.264.2021.06.03.04.22.50; Thu, 03 Jun 2021 04:23:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229786AbhFCLWq (ORCPT + 99 others); Thu, 3 Jun 2021 07:22:46 -0400 Received: from mail-m17639.qiye.163.com ([59.111.176.39]:55990 "EHLO mail-m17639.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229675AbhFCLWq (ORCPT ); Thu, 3 Jun 2021 07:22:46 -0400 X-Greylist: delayed 361 seconds by postgrey-1.27 at vger.kernel.org; Thu, 03 Jun 2021 07:22:46 EDT Received: from ubuntu.localdomain (unknown [36.152.145.181]) by mail-m17639.qiye.163.com (Hmail) with ESMTPA id D26A0380367; Thu, 3 Jun 2021 19:14:57 +0800 (CST) From: Bernard Zhao To: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Bernard Zhao Subject: [PATCH] drm/mediatek: remove redundant error log print Date: Thu, 3 Jun 2021 04:14:49 -0700 Message-Id: <20210603111455.5963-1-bernard@vivo.com> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZGUoZQ1YYGklCHk5CGE0fHRlVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWUFZT0tIVUpKS0 hKQ1VLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NU06UTo4NT8TIxQ8Th49PA4r Cg9PCSJVSlVKTUlJTEpDQ0JDSElNVTMWGhIXVRkeCRUaCR87DRINFFUYFBZFWVdZEgtZQVlITVVK TklVSk9OVUpDSllXWQgBWUFJSkpJNwY+ X-HM-Tid: 0a79d1955f8cd994kuwsd26a0380367 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix coccicheck warning: drivers/gpu/drm/mediatek/mtk_dsi.c:1074:2-9: line 1074 is redundant because platform_get_irq() already prints an error. Signed-off-by: Bernard Zhao --- drivers/gpu/drm/mediatek/mtk_dsi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c index ae403c67cbd9..e2e4fc8b1360 100644 --- a/drivers/gpu/drm/mediatek/mtk_dsi.c +++ b/drivers/gpu/drm/mediatek/mtk_dsi.c @@ -1082,10 +1082,8 @@ static int mtk_dsi_probe(struct platform_device *pdev) ret = devm_request_irq(&pdev->dev, irq_num, mtk_dsi_irq, IRQF_TRIGGER_NONE, dev_name(&pdev->dev), dsi); - if (ret) { - dev_err(&pdev->dev, "failed to request mediatek dsi irq\n"); + if (ret) goto err_unregister_host; - } init_waitqueue_head(&dsi->irq_wait_queue); -- 2.31.0