From patchwork Mon Jul 4 13:19:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102055 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp1549578qgy; Mon, 4 Jul 2016 06:17:58 -0700 (PDT) X-Received: by 10.98.48.198 with SMTP id w189mr22336772pfw.125.1467638278524; Mon, 04 Jul 2016 06:17:58 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3si4328932pfg.118.2016.07.04.06.17.58; Mon, 04 Jul 2016 06:17:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753970AbcGDNR4 (ORCPT + 30 others); Mon, 4 Jul 2016 09:17:56 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:56956 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753416AbcGDNRy (ORCPT ); Mon, 4 Jul 2016 09:17:54 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue001) with ESMTPA (Nemesis) id 0MceGG-1b2OL71xtA-00HiFM; Mon, 04 Jul 2016 15:17:17 +0200 From: Arnd Bergmann Cc: Arnd Bergmann , Vladimir Zapolskiy , Sylvain Lemieux , "David S. Miller" , Andrew Lunn , Philippe Reynes , linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next] lpc_eth: remove unused variable Date: Mon, 4 Jul 2016 15:19:41 +0200 Message-Id: <20160704132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ted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A cleanup patch removed the only user of a local variable, as indicated by a gcc warning. drivers/net/ethernet/nxp/lpc_eth.c: In function 'lpc_eth_ioctl': drivers/net/ethernet/nxp/lpc_eth.c:1183:24: error: unused variable 'pldat' [-Werror=unused-variable] This removes the variable as well. Signed-off-by: Arnd Bergmann Fixes: f786f3564c4f ("net: ethernet: lpc_eth: use phydev from struct net_device") --- drivers/net/ethernet/nxp/lpc_eth.c | 1 - 1 file changed, 1 deletion(-) -- 2.9.0 diff --git a/drivers/net/ethernet/nxp/lpc_eth.c b/drivers/net/ethernet/nxp/lpc_eth.c index ad5464fa8ac7..660d113f8b9a 100644 --- a/drivers/net/ethernet/nxp/lpc_eth.c +++ b/drivers/net/ethernet/nxp/lpc_eth.c @@ -1180,7 +1180,6 @@ static void lpc_eth_set_multicast_list(struct net_device *ndev) static int lpc_eth_ioctl(struct net_device *ndev, struct ifreq *req, int cmd) { - struct netdata_local *pldat = netdev_priv(ndev); struct phy_device *phydev = ndev->phydev; if (!netif_running(ndev))