Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1002395pxf; Thu, 8 Apr 2021 19:28:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb7xcwJSHLXtUGI+DW3tdxNGpO8NWtqQNwBp1ygYi2WEq4x/GS+F/ZC6aJ5ebyQmFIhYBK X-Received: by 2002:a63:1f02:: with SMTP id f2mr10737213pgf.195.1617935339486; Thu, 08 Apr 2021 19:28:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617935339; cv=none; d=google.com; s=arc-20160816; b=ej74b8rbOYuzNsaVeqDRNxoHBL0FoYynPekjWaXKVK2waSP4sSbsluCvJYKXSUhOdC wvg4xgmI6Qx05ZlJbr36/QeSMy1rt+0mAfHFMOMnefJ+m4MDyOGoZQK0sw8dR374sKd8 /poG8ydChMgnFwopYuLPQYJJAOTE8SiXqVuxh3n2OUWp0MvCwOeJcWRfl/uexzX9nRks CiiY2XFfhGMHaf8loxV+sqPuWcKqx7iGx3kjXiuJZETVO6ZZ45BCqHtgqjd7fPmXJ69p xYzi/F+bsAi5v6m0uXHSvtLig79iXBD8/J2eCSEKpBIs+p4K7fYOqpitSzX1dYhHG7BI h/fQ== 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=GbUef+iGKymSCBDUrNdNXvu6c/b9n6FrqJ5j5kzkDDM=; b=TMSzAvI+0c35M/GVQGVj5rk9l6tW93pChChODzi1VooiU5Sodo05zWu2WTMAjwQ+6h Fo85jvLOuDSZ/7stDeUA5oeG4DinrEmbDcZ/R+VBX6cdow9/DKJLxhedPNgbgJiMUkd2 3tbs2Wk3fF/yS6jPVduO4wOVIPEv5m8ldjDhp0J+aqKYZGPR94fBaeU1DQHU/NG+Z/f8 c5trve54EBib8AdiqhE9ikTfSoYYnv/G/CLtYx8L/8FJCUBuCt3gOxbuYSRtDGaDzL1/ ESDwPbT0ltRCnTiBIg8LLp3FWjrSKEe7gxl5roEu6YIdWYgo19MoOwCAa+36Ix4/LVU2 NAFA== 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=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 135si1197686pgg.580.2021.04.08.19.28.47; Thu, 08 Apr 2021 19:28:59 -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=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232688AbhDIC2a (ORCPT + 99 others); Thu, 8 Apr 2021 22:28:30 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:15989 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232616AbhDIC23 (ORCPT ); Thu, 8 Apr 2021 22:28:29 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4FGhnm0h9qzyNkx; Fri, 9 Apr 2021 10:26:04 +0800 (CST) Received: from huawei.com (10.175.124.27) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.498.0; Fri, 9 Apr 2021 10:28:06 +0800 From: Laibin Qiu To: , , , CC: , , Subject: [PATCH -next] mmc: sdhci-st: Remove unnecessary error log Date: Fri, 9 Apr 2021 10:38:01 +0800 Message-ID: <20210409023801.3326572-1-qiulaibin@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.27] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org devm_ioremap_resource() has recorded error log, so it's unnecessary to record log again. Reported-by: Hulk Robot Signed-off-by: Laibin Qiu --- drivers/mmc/host/sdhci-st.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/mmc/host/sdhci-st.c b/drivers/mmc/host/sdhci-st.c index 78941ac3a1d6..d41582c21aa3 100644 --- a/drivers/mmc/host/sdhci-st.c +++ b/drivers/mmc/host/sdhci-st.c @@ -400,10 +400,8 @@ static int sdhci_st_probe(struct platform_device *pdev) res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "top-mmc-delay"); pdata->top_ioaddr = devm_ioremap_resource(&pdev->dev, res); - if (IS_ERR(pdata->top_ioaddr)) { - dev_warn(&pdev->dev, "FlashSS Top Dly registers not available"); + if (IS_ERR(pdata->top_ioaddr)) pdata->top_ioaddr = NULL; - } pltfm_host->clk = clk; pdata->icnclk = icnclk; -- 2.25.1