]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: orion: remove unused wnr854t_switch_plat_data
authorArnd Bergmann <arnd@arndb.de>
Wed, 8 Feb 2017 21:24:19 +0000 (22:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Feb 2017 21:59:57 +0000 (16:59 -0500)
commitfce75d269e4ad81d9f17797df4a7a7f70588f2fd
tree10d22782e23395f24862af66d0e2af980df09258
parent8280e44018da4d5665b3447841f66391266cb6d7
ARM: orion: remove unused wnr854t_switch_plat_data

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: 8428b092f86f ("ARM: orion: Register DSA switch as a MDIO device")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/mach-orion5x/wnr854t-setup.c