Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3671933pxb; Mon, 9 Nov 2020 18:28:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJwqlxDCANRmbfh0X36BIpkLsC5mqSGDYpp3GX2BnvLn6E9JyttKRy49TV7vpcJc0PK/5eGz X-Received: by 2002:a17:906:3813:: with SMTP id v19mr5361682ejc.462.1604975282070; Mon, 09 Nov 2020 18:28:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604975282; cv=none; d=google.com; s=arc-20160816; b=BDyrrbrEgAkLLeP5PKXPI0st/T5CXIZOreNCqeRqXFUeyKtPslyny20RU0ZLEVUX9o TFOgSYJSPst4URHpbpjzO7Sb1NXIxTRyvp6dXOEybzRUxuUt25Em45OvmpU0IrTMCIXI BrScwwham9M7XXfnU7xK7/6lFWTrApzNPv+zPUch/7h63thvTRseEIB2zXO/m9QYfuHa 89DTGJO58Am7qvprlurpZBZSs16VzOnJr5CQ3IgV1PC+f0lCqhASqAW/6slo9dnvgNce VgumghD/HFaHOj6K2wABwUEhWb3gHwgWOjAmpsNgJuW3xuzwcLe5EOtlPSNA0iTV4djF Bajw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:to:from; bh=c8HgzzofxaTo5s+V+ljFcWVkEMsQXfC/mK+tgyk46LA=; b=caBOtgIEZ0rOyCBPgqQIgm1ipGgWBQfVCLoyp+apqLpDrz142tOuj67IMHKaHWPrd8 bRxKHzVqkzkFRtB3HJxoO8MLYnAXhnIBoyjFPRXAzSvttIid3OOx/PDNzobBSmntVI9R nCe2H4ylRyk+XWElUAvpl6tn8p7UeF1qgiUzRWJvyHEo5VwPDOSMZAM8maVGxNQ2BvRC obURULiX10nwpxOIQ2MQUCPG9fBf0758I5nJD53aeI6nF1sxhW4wRj56AXPEC7vO/JDB 2tl5qL3c/85WEmGXjMYZG1icUUIO34vQxng3r3b9dt8A4oPbxVsxkoKy/C54OTAU+P6L Szvg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i8si7960175ejf.269.2020.11.09.18.27.39; Mon, 09 Nov 2020 18:28:02 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730730AbgKJCZx (ORCPT + 99 others); Mon, 9 Nov 2020 21:25:53 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:7621 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730615AbgKJCZx (ORCPT ); Mon, 9 Nov 2020 21:25:53 -0500 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4CVWtX0PM7zLsPg; Tue, 10 Nov 2020 10:25:40 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Tue, 10 Nov 2020 10:25:48 +0800 From: Tian Tao To: , , , , , Subject: [PATCH] drm/fsl-dcu: remove redundant platform_get_irq error message Date: Tue, 10 Nov 2020 10:26:19 +0800 Message-ID: <1604975179-15309-1-git-send-email-tiantao6@hisilicon.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Function dev_err() after platform_get_irq() is redundant because platform_get_irq() already prints an error. Signed-off-by: Tian Tao --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c index 7528e8a..476b196 100644 --- a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c +++ b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c @@ -259,7 +259,6 @@ static int fsl_dcu_drm_probe(struct platform_device *pdev) fsl_dev->irq = platform_get_irq(pdev, 0); if (fsl_dev->irq < 0) { - dev_err(dev, "failed to get irq\n"); return fsl_dev->irq; } -- 2.7.4