Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1001260pxf; Thu, 8 Apr 2021 19:25:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLkIluAP2A0X7s4cuI7ToekA5RDcHbrFHlz+t5J6odlmyofuQAOm0wsI+rZrGJRuoGPZrc X-Received: by 2002:a17:902:b94c:b029:e6:98b9:c15b with SMTP id h12-20020a170902b94cb02900e698b9c15bmr10861586pls.60.1617935135302; Thu, 08 Apr 2021 19:25:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617935135; cv=none; d=google.com; s=arc-20160816; b=Ic6BQxaqsh6Fu/1Fg/zrrj+9TxrFyhU3CtQBvoWy5eVyfHeTcJGPtbG8CFH5ctA7nc aJoJOo8KF6Skt5vTdCc00PtikX+AC6uvLWTQgdl/0RzOJQTOUcuavXRXWNP5nBmlF2k3 jPn6UlBsMGpLwr0L0xWbeNbRYjeMIB9RUUngblvRggdPVHhVDGXPclJFnujX55jEfcyH r6pfjOxDsdPxlQZqLZRjdYzJIq92ok93Ley1Hs53vCdwr78sZMu8ZNib8KzpEdNbrlbY OgZ2/LEYO2PfsgOSgmgarJlPsyLQamGtal+AynxJc+hbjBhaEtkbMheVkbporhP6hcYU U+zw== 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=X/bqt+2IRxW2DXepRY4PaViFOiypsyhEDwcmJaBG3Yc=; b=gEigAIKa442s5WZwIFW38JK4ZloxBAhU6Xz91DzmXpBPPDBCYizhcPWDErHOXZaOWz X6EhC1YG3+N+7acAKpjvEWDWC5SlUzwtVyOJ7WFxB5/MhVWT/yRFs855BCHM3u3whGTd 3eY6oF1FF0Ea8SorzPtmFZZqSmWPxbJ/F/I6Um/4P7QeWAt/Zl33vO7xAsABP5NCeIx1 1nllshSKErIpW9Jdgxjm4gcK9p2wsXUSAyLRiNrWZh6TgTa1j8K0JCeZsIxo0VibLuO+ R3yFA23xeLW6w3ZOBDibp9FPUwkLjyMwJMGyKU6EeJEmw5tpOvv4cUxdQtcHUFKy/3Le E78w== 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 g16si1369686pfh.282.2021.04.08.19.25.23; Thu, 08 Apr 2021 19:25:35 -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 S232788AbhDICYO (ORCPT + 99 others); Thu, 8 Apr 2021 22:24:14 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:16851 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232616AbhDICYO (ORCPT ); Thu, 8 Apr 2021 22:24:14 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4FGhhq2brPz9xgR; Fri, 9 Apr 2021 10:21:47 +0800 (CST) Received: from huawei.com (10.175.124.27) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Fri, 9 Apr 2021 10:23:53 +0800 From: Laibin Qiu To: , , , CC: , , , Subject: [PATCH -next] mmc: owl-mmc: Remove unnecessary error log Date: Fri, 9 Apr 2021 10:33:49 +0800 Message-ID: <20210409023349.3325907-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/owl-mmc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mmc/host/owl-mmc.c b/drivers/mmc/host/owl-mmc.c index 5490962dc8e5..3dc143b03939 100644 --- a/drivers/mmc/host/owl-mmc.c +++ b/drivers/mmc/host/owl-mmc.c @@ -581,7 +581,6 @@ static int owl_mmc_probe(struct platform_device *pdev) res = platform_get_resource(pdev, IORESOURCE_MEM, 0); owl_host->base = devm_ioremap_resource(&pdev->dev, res); if (IS_ERR(owl_host->base)) { - dev_err(&pdev->dev, "Failed to remap registers\n"); ret = PTR_ERR(owl_host->base); goto err_free_host; } -- 2.25.1