Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp727493rwb; Fri, 23 Sep 2022 03:23:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM70FGEFz6Cx6fRD6LAoAebc+INUC0zm/rrgh/ZwcLqZ2xfvEKEKAKVU5UwbrDmEA3fJf0YU X-Received: by 2002:a65:6055:0:b0:42a:7b2b:dc71 with SMTP id a21-20020a656055000000b0042a7b2bdc71mr6890399pgp.23.1663928595476; Fri, 23 Sep 2022 03:23:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663928595; cv=none; d=google.com; s=arc-20160816; b=LYfGRuAKranP+sYyJuDAKpejowPD4MofAur/OdeBLXb61JFNNqPbhUtgLuT9Eg7qEA KngOlWDRhOKPE3pNhorrmWQ0uSaW+y7LiY4O1gpbwtBwLhJhRzqUVNe66p+a4hM+ZYIr 8jlwMTaEyJ6WCCd+GiVlN1ERNV/IK3jYGBOGIYNfzXroQ5bO42HSl28ypKJchplM+A4z ndFyJ/gmWOsDQnl5kwWX11kt8N93V+Roffcf2wpE7LtcvN+0LtbLcCWE8Co97LEE+Wz1 FTc9g50mbscyqm+ZQyXBbmDeCdxlmeVwt2+EmtFhAS7pLMYP3HvIqNAL85P4OH5auCpY 5GfQ== 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:cc:to:from; bh=jab5cz6/XKHVaxh9fGAghvqZjN108ZyzDOffE8m5TyM=; b=njQp22jr9B7piR6h52ruti5ZySvzx5k6mxc3VxIaTU5A9wlnFkzPXmorH0VQ+d84Fv WEq/UWOQjLYFVSD5rLMiEV6h72uspDja6u1d6Rnke/9DlY2KQgj9AhoIls/ctdT8Sr4Q FyzPFBdEubGIEbEBoIvM/yh1Pd5S4XADq4RurM6OpZyr94DmiV1o3xVw2QPG9pafsBsL EgQD1cnNVytJ7Hlz5zd048angGyhA4TudhMsJoqzxYfw04ciGIFMXCPMhLzFYYqijIO1 P76z6lP025T2tSzhhddKe+8z7NrUzyd6eVC3sFWcB/QOoYVezoEsayFAnx6LHXm9bvA6 Rxog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s134-20020a632c8c000000b00438d54cf8c5si8858730pgs.759.2022.09.23.03.23.03; Fri, 23 Sep 2022 03:23:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230475AbiIWJey (ORCPT + 99 others); Fri, 23 Sep 2022 05:34:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231282AbiIWJef (ORCPT ); Fri, 23 Sep 2022 05:34:35 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 881D21B8 for ; Fri, 23 Sep 2022 02:34:28 -0700 (PDT) Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MYn133sY8zMpb8; Fri, 23 Sep 2022 17:29:43 +0800 (CST) Received: from kwepemm600008.china.huawei.com (7.193.23.88) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 23 Sep 2022 17:34:26 +0800 Received: from huawei.com (10.175.100.227) by kwepemm600008.china.huawei.com (7.193.23.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 23 Sep 2022 17:34:26 +0800 From: Shang XiaoJing To: , , , CC: Subject: [PATCH -next] mei: gsc: Remove redundant dev_err call Date: Fri, 23 Sep 2022 18:08:41 +0800 Message-ID: <20220923100841.17719-1-shangxiaojing@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.100.227] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemm600008.china.huawei.com (7.193.23.88) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org devm_ioremap_resource() prints error message in itself. Remove the dev_err call to avoid redundant error message. Signed-off-by: Shang XiaoJing --- drivers/misc/mei/gsc-me.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/misc/mei/gsc-me.c b/drivers/misc/mei/gsc-me.c index 75765e4df4ed..e63cabd0818d 100644 --- a/drivers/misc/mei/gsc-me.c +++ b/drivers/misc/mei/gsc-me.c @@ -68,7 +68,6 @@ static int mei_gsc_probe(struct auxiliary_device *aux_dev, hw = to_me_hw(dev); hw->mem_addr = devm_ioremap_resource(device, &adev->bar); if (IS_ERR(hw->mem_addr)) { - dev_err(device, "mmio not mapped\n"); ret = PTR_ERR(hw->mem_addr); goto err; } -- 2.17.1