Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3320pxu; Thu, 3 Dec 2020 17:27:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJyy8njgHg9XIsZVfCG3tQgTLZ8zfoRCKDuw4FaLA4iKIShAtFchZ5HZj6IVhe9WlRT1eqSR X-Received: by 2002:a17:907:216b:: with SMTP id rl11mr5016931ejb.61.1607045233949; Thu, 03 Dec 2020 17:27:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607045233; cv=none; d=google.com; s=arc-20160816; b=heno/k3TNgfNYcbsTS/7N9FnJEA7a4mbQh66/5uvEwQ6OU2tRcYGWcAUBobh838OJn jate6XLT1AQ5VBGaPYr8tvnhSzz9Re70HCBBZEBrlA8ZZQ2z6ZsrCWayAuJWgI6jBuHT qWJeKTTEretD9wFzn6WZa/fhefNSyhlJ6L/jIWlJRrWiiZICHRZBynQaoE665LMrNx3f FOVBeUCHA0UxBh6BSruYHCmksgCaW+S/YP1t5wOWR7//gJWoLKjWZ29qoyy0lV5tD1Yb k8tZaMvR70zjuGjxXkSkjNrrz2QmFIzdMJDCKaizgv/clRZJa6zBZRC95am5VFksZNFL WU4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:to:from; bh=c8HgzzofxaTo5s+V+ljFcWVkEMsQXfC/mK+tgyk46LA=; b=VgJ8iBL3a3ubOGu3iLCjKsU53L8qHOqe1JXur81QycGGD5US3u3D/BYzAbZ/nqfjOh 1ZRY1r7xayQhN4jpctv/1+b839/2IwscI2rVYp3vv9uUgWizD4TQMBjU4rQYMObkHODA k4wWE5nScrhpMAUt18+aO5oW1w4lhEB6CLqf9biZ2ITWV18IxHkKO8ubXlDBF0qCFgx7 d7v9virP7O1tXRKUROpdNQ9c3N3sYRzlQR4RI9M4REwvPTtf890otnI9yC5pUmfi6O4T 9S74V8O/qbSIpVT2l0YaXcTe8ke/RpZ74Z7boZqjbRbsgaOJeLC01NFebAWAEKWHX5db 6tyg== 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 r10si443846ejg.233.2020.12.03.17.26.51; Thu, 03 Dec 2020 17:27:13 -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 S1729146AbgLDBX5 (ORCPT + 99 others); Thu, 3 Dec 2020 20:23:57 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:9004 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728564AbgLDBXs (ORCPT ); Thu, 3 Dec 2020 20:23:48 -0500 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4CnFLk4FbYzhmDP; Fri, 4 Dec 2020 09:22:38 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Fri, 4 Dec 2020 09:23:03 +0800 From: Tian Tao To: , , , , , , , , Subject: [PATCH] drm/fsl-dcu: remove redundant platform_get_irq error message Date: Fri, 4 Dec 2020 09:23:07 +0800 Message-ID: <1607044999-47666-2-git-send-email-tiantao6@hisilicon.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1607044999-47666-1-git-send-email-tiantao6@hisilicon.com> References: <1607044999-47666-1-git-send-email-tiantao6@hisilicon.com> 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