Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3975257pxu; Mon, 21 Dec 2020 00:26:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvj5p1/qtRYvSDaxSgFuA7Yri1+uZfxJ/DaWwsRjllVVVSgM+3T4nM62CDhol3GKPyeZaa X-Received: by 2002:a05:6402:1352:: with SMTP id y18mr15097904edw.178.1608539201059; Mon, 21 Dec 2020 00:26:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608539201; cv=none; d=google.com; s=arc-20160816; b=e9i+KMcKk8IPluU1C3i7PMz1LIh4+fxYi31OK5gyDKZswMsczv4pU18RLJiL8M1knX XhAM4gjjXcvwoiDEkXbvPqvLFriCVcCudBd3BQT7b17IEalk64dGWV1bu1MuTbLghyJI TDoGwjuS4belVMuv578+YNq0k9ZMdfvuIi+k6ilidtcClqpNLrVc6JkiKke4uFBWbcD1 yNpwZY+Sl3ttIbSQPKnjvaNi9gMZ8kKW+Bz5ntO+23j1nAaaRMokwtJwbHyrJ/uX9tW6 s/NGgyKKPN8Fbn5ddUU58UxoJuTHSZiryP7Hrl9gimXLmBXWG/OKMIL04j5SO9vGGEgL 1Ivw== 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=mb0WVvYHsLT4jzg7q88hyyxZDGIFuhxT/RBn6bdwpYc=; b=cLIHHUbUs0kCHytjIR/1RuXCu5Yff2sq/S5VXADo5SmewBCCPOZkMp4PRgi6VzaJh/ fzWX8xJTWcCj5aTI2JqVb4sSrQgHUEI5iIOOpxVg+HciHL23ocVtnh1+loc/flE3IWrI wDuzI1Spamjvy+ifRBtUWhmIvyabGxlzdKxJY/RmhRl3tETEhyQ6220/vMiL4c0HEdnj 8QdwmHw738Z4RvF4WpiWT4dKESsG9xlx/MpxbNJW7p4AVMbrXgVvjZp6/bjP4DRqHk6y NpOh6ioGaC0AQJRjhvc/37F8/7pvpUaRld5c/ZJhTytVL4Qdz1t5f14C2BMKI9Ne/CzK 8IkA== 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 v15si651511eju.651.2020.12.21.00.26.18; Mon, 21 Dec 2020 00:26:41 -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 S1726897AbgLUI0E (ORCPT + 99 others); Mon, 21 Dec 2020 03:26:04 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:9233 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725878AbgLUI0E (ORCPT ); Mon, 21 Dec 2020 03:26:04 -0500 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4Czsvc18RMzktNl; Mon, 21 Dec 2020 16:24:28 +0800 (CST) Received: from huawei.com (10.69.192.56) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.498.0; Mon, 21 Dec 2020 16:25:18 +0800 From: Luo Jiaxing To: , , CC: , Subject: [PATCH v1] gpio: hisi: delete some unused variables in hisi_gpio_probe() Date: Mon, 21 Dec 2020 16:25:24 +0800 Message-ID: <1608539124-4914-1-git-send-email-luojiaxing@huawei.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 kernel test rebot report that dat, set and clr in hisi_gpio_probe() is unused variables. So delete it. Reported-by: kernel test robot Signed-off-by: Luo Jiaxing --- drivers/gpio/gpio-hisi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpio/gpio-hisi.c b/drivers/gpio/gpio-hisi.c index a389780..d2971c9 100644 --- a/drivers/gpio/gpio-hisi.c +++ b/drivers/gpio/gpio-hisi.c @@ -254,7 +254,6 @@ static void hisi_gpio_get_pdata(struct device *dev, static int hisi_gpio_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; - void __iomem *dat, *set, *clr; struct hisi_gpio *hisi_gpio; int port_num; int ret; -- 2.7.4