Skip to content

Commit 15c2e10

Browse files
arndbdavem330
authored andcommitted
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: 575e93f ("ARM: orion: Register DSA switch as a MDIO device") Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 2cbf5b4 commit 15c2e10

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

arch/arm/mach-orion5x/wnr854t-setup.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,6 @@ static struct dsa_chip_data wnr854t_switch_chip_data = {
106106
.port_names[7] = "lan2",
107107
};
108108

109-
static struct dsa_platform_data __initdata wnr854t_switch_plat_data = {
110-
.nr_chips = 1,
111-
.chip = &wnr854t_switch_chip_data,
112-
};
113-
114109
static void __init wnr854t_init(void)
115110
{
116111
/*

0 commit comments

Comments
 (0)