From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752209AbdBHWLF (ORCPT ); Wed, 8 Feb 2017 17:11:05 -0500 Received: from mail-qk0-f194.google.com ([209.85.220.194]:33311 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751580AbdBHWK1 (ORCPT ); Wed, 8 Feb 2017 17:10:27 -0500 Subject: Re: [PATCH] [net-next] ARM: orion: remove unused wnr854t_switch_plat_data To: Arnd Bergmann , "David S . Miller" References: <20170208212431.2924390-1-arnd@arndb.de> Cc: netdev@vger.kernel.org, Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory Clement , Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org From: Florian Fainelli Message-ID: <764ddf86-4f5b-e883-0cb4-9a83c1455593@gmail.com> Date: Wed, 8 Feb 2017 14:03:02 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170208212431.2924390-1-arnd@arndb.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/08/2017 01:24 PM, Arnd Bergmann wrote: > The other instances of this structure got removed along with the MDIO > device change, but this one was left behind and needs to be removed > as well: > > arch/arm/mach-orion5x/wnr854t-setup.c:109:44: error: 'wnr854t_switch_plat_data' defined but not used [-Werror=unused-variable] > static struct dsa_platform_data __initdata wnr854t_switch_plat_data = { > > Fixes: 575e93f7b5e6 ("ARM: orion: Register DSA switch as a MDIO device") > Signed-off-by: Arnd Bergmann Acked-by: Florian Fainelli Thanks Arnd! -- Florian