Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp332790ybz; Fri, 17 Apr 2020 01:55:59 -0700 (PDT) X-Google-Smtp-Source: APiQypJSosAc+YGxzy0NBo0wgqdC+JO19qdaGaQ6cNkCgIv9U0XGL2Wi3GIsmlO9OCLEerUCgEHM X-Received: by 2002:a17:906:a990:: with SMTP id jr16mr1999209ejb.338.1587113759262; Fri, 17 Apr 2020 01:55:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587113759; cv=none; d=google.com; s=arc-20160816; b=k83zLbejJdnBJi3uV1Gf4/x8qWL8a3CnCmVB1XcQjWQX4LM0Eh2XeBjh6HA7nPeUsx J2wUdQCAbeBUs1qLUxwdQJh+mhR9i/CUObwZjWmS3bJPydjidxDWtJH5zchDwJFkQ7pW dRLHqDI4HRFD9206ph9bLsz+IcBn6Ma11RzlwSTfxIBtoaHPr+yt+IgQvGHTu8YgWDb1 +2KVVvlQkTZv1tkhEqzgc84nfunzp7Vcbwq0l3x1yk+/Rqhzhos8sgNnkam5dlhUfxGp TT9X1WYN/7tOlnqyAtUxtZMdsPrRx/lL+WbykIePx8i8+kp7C3IPIwlOpyoHTzxQzdmw ntgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ZnOZ6bJ89XE5yOq3qBYb/9TKacreIzPnh2FeMjHjpT4=; b=nu2BAoijZi1Ty+ZRLgtDK0n71eX6xLSYxytIHAvqf6ay017pnrNgzv2KVy1wv3f5Gh d4LIJbbsjJrP+UzO3l26bBcfAZ64q8cPYDWuDuc9546GULUPupBOLCk61RgmYSqA3PCl HhYlYLu4E7kmrk+LV3THSbt7MPOGThFtnJlW/qvyQFiqrp0VYolnJHgowq5KsT6Z850I wmoBfvq/UTeiy+1Sly/XGKpQwCWJCIfPVSfNQ2WyuLqR67MEkIeFf5YbUFpcj6S8ZPXh wQ8ajE3OYnxbU4qJJsJEu77U37yrQiBJ7uqJkBkHNpu34XFSZObtR9DVjiwIi9FSF2xJ uNyQ== 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 nh5si6062691ejb.352.2020.04.17.01.55.35; Fri, 17 Apr 2020 01:55: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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729907AbgDQIy3 (ORCPT + 99 others); Fri, 17 Apr 2020 04:54:29 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:49938 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729819AbgDQIy3 (ORCPT ); Fri, 17 Apr 2020 04:54:29 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id A45ED4FB16B8E53C3F52; Fri, 17 Apr 2020 16:54:26 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Fri, 17 Apr 2020 16:54:16 +0800 From: Jason Yan To: , , , , , CC: Jason Yan , Hulk Robot Subject: [PATCH] pinctrl: rza1: remove unused 'rza1l_swio_pins' Date: Fri, 17 Apr 2020 17:20:42 +0800 Message-ID: <20200417092042.11994-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following gcc warning: drivers/pinctrl/pinctrl-rza1.c:401:35: warning: ‘rza1l_swio_pins’ defined but not used [-Wunused-const-variable=] static const struct rza1_swio_pin rza1l_swio_pins[] = { ^~~~~~~~~~~~~~~ Reported-by: Hulk Robot Signed-off-by: Jason Yan --- drivers/pinctrl/pinctrl-rza1.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/pinctrl/pinctrl-rza1.c b/drivers/pinctrl/pinctrl-rza1.c index da2d8365c690..e96bf89b3764 100644 --- a/drivers/pinctrl/pinctrl-rza1.c +++ b/drivers/pinctrl/pinctrl-rza1.c @@ -398,15 +398,6 @@ static const struct rza1_bidir_pin rza1l_bidir_pins_p9[] = { { .pin = 5, .func = 3 }, }; -static const struct rza1_swio_pin rza1l_swio_pins[] = { - { .port = 2, .pin = 8, .func = 2, .input = 0 }, - { .port = 5, .pin = 6, .func = 3, .input = 0 }, - { .port = 6, .pin = 6, .func = 3, .input = 0 }, - { .port = 6, .pin = 10, .func = 3, .input = 0 }, - { .port = 7, .pin = 10, .func = 2, .input = 0 }, - { .port = 8, .pin = 2, .func = 3, .input = 0 }, -}; - static const struct rza1_bidir_entry rza1l_bidir_entries[RZA1_NPORTS] = { [1] = { ARRAY_SIZE(rza1l_bidir_pins_p1), rza1l_bidir_pins_p1 }, [3] = { ARRAY_SIZE(rza1l_bidir_pins_p3), rza1l_bidir_pins_p3 }, -- 2.21.1