From patchwork Mon Sep 18 08:04:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antoine Tenart X-Patchwork-Id: 9955679 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2C64460385 for ; Mon, 18 Sep 2017 08:14:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 13A3828B8F for ; Mon, 18 Sep 2017 08:14:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 062A228BD7; Mon, 18 Sep 2017 08:14:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8857428B8F for ; Mon, 18 Sep 2017 08:14:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Xd7M4AyMZpXQRknPqWQyfB2T1+41dAZURmYxwSI/7DM=; b=QbhONOlYyXMgWuzTkP0Y+OXqIa C8HQmXPBgYdhhw7s+vEEWGTIIHG3dDwMHbCfWPdTbSeYPLVa6ZrfdxZgGn/8pe7N26r7ME3ctnbt1 8GIZxkxd2qV9qm/XuMV6rZtEjuhQqdJoHJhlKn+lKiPhcBHsUYLVG3ju2w9Q1h8ijZ3fZh5GOFQOs ZQCDtRDE5cDsoKEf7VqTWZ53XF79sUmhBJ8XRU4rtcv21/Y0YKVDYKwUzt6d9VK6+SOpNhWlHDZ3B RKU2pPs3J1OegUyQa82yI97QrFwOW+TyukbZ7+Qt+t5P6pqdeLhWgxkqw8dWqy761/SoUbzSzm2LI 6mHhLU5w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dtrC2-0000F3-IS; Mon, 18 Sep 2017 08:14:14 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dtrBy-00007e-Ih for linux-arm-kernel@bombadil.infradead.org; Mon, 18 Sep 2017 08:14:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8AatJlgUISMbS5OtCtrSQARHNUn8ue/vdqf41ewrIsM=; b=V7dDcrdGWwRCfxEsLQu7TFJH7 2JuPoBpvvIKH0uQe8Bx0qK5nLLDv4ngzCqIKZDOwxkBQowfjMJVi4b1KWSIy3Y0U/CjwOhzkYyOWv kXbBsfy1mBx6KOCGY77PQFBeDdwpbCETzfyr5c6sx2S1mQRgBP+uRLOR5Dem7EN/CXzyyxfc1wbj3 tqB9W2J1Zy3kdiC9TahGKrgpnBn3l55d9yX4OUHAmwVMYePxAwv2Q1SgJelCz1qo0ODQAIld9c6hZ G+PdZcTkpGIHZ/3cwuVcguEaUd5hSnLfyIKu+Ob7q3eV1QOCJHtiT2zp+7koK1LJKZcEIfZz9zt4m sXBQTGGtQ==; Received: from mail.free-electrons.com ([62.4.15.54]) by casper.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dtr3T-0004pY-0k for linux-arm-kernel@lists.infradead.org; Mon, 18 Sep 2017 08:05:28 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id 73D0F20A27; Mon, 18 Sep 2017 10:05:01 +0200 (CEST) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 4CCB320A08; Mon, 18 Sep 2017 10:05:01 +0200 (CEST) From: Antoine Tenart To: kishon@ti.com Subject: [PATCH 2/3] phy: mvebu-cp110-comphy: remove unused member in private struct Date: Mon, 18 Sep 2017 10:04:21 +0200 Message-Id: <20170918080422.28972-2-antoine.tenart@free-electrons.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170918080422.28972-1-antoine.tenart@free-electrons.com> References: <20170918080422.28972-1-antoine.tenart@free-electrons.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170918_090523_072513_97646D00 X-CRM114-Status: GOOD ( 11.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thomas.petazzoni@free-electrons.com, Antoine Tenart , linux-kernel@vger.kernel.org, nadavh@marvell.com, miquel.raynal@free-electrons.com, gregory.clement@free-electrons.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The 'modes' member of the mvebu_comphy_priv structure is not used. Remove it. Signed-off-by: Antoine Tenart --- drivers/phy/marvell/phy-mvebu-cp110-comphy.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/phy/marvell/phy-mvebu-cp110-comphy.c b/drivers/phy/marvell/phy-mvebu-cp110-comphy.c index 514a1a47e1fd..365f0abf5a2f 100644 --- a/drivers/phy/marvell/phy-mvebu-cp110-comphy.c +++ b/drivers/phy/marvell/phy-mvebu-cp110-comphy.c @@ -152,7 +152,6 @@ struct mvebu_comphy_priv { void __iomem *base; struct regmap *regmap; struct device *dev; - int modes[MVEBU_COMPHY_LANES]; }; struct mvebu_comphy_lane {