Browse Source

davinci: remove unused variable in arch/arm/mach-davinci/board-sffsdr.c

This patch fixes the following warning:

arch/arm/mach-davinci/board-sffsdr.c:99: warning: 'sffsdr_emac_pdata' defined but not used

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Sekhar Nori 15 năm trước cách đây
mục cha
commit
27a147cd2a
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 5
      arch/arm/mach-davinci/board-sffsdr.c

+ 0 - 5
arch/arm/mach-davinci/board-sffsdr.c

@@ -96,11 +96,6 @@ static struct platform_device davinci_sffsdr_nandflash_device = {
 	.resource	= davinci_sffsdr_nandflash_resource,
 };
 
-static struct emac_platform_data sffsdr_emac_pdata = {
-	.phy_mask	= SFFSDR_PHY_MASK,
-	.mdio_max_freq	= SFFSDR_MDIO_FREQUENCY,
-};
-
 static struct at24_platform_data eeprom_info = {
 	.byte_len	= (64*1024) / 8,
 	.page_size	= 32,