Commit d81a32f2 authored by Artem Bityutskiy's avatar Artem Bityutskiy Committed by David Woodhouse

mtd: sst25l: kill unused variable

Fix the following gcc warning:
drivers/mtd/devices/sst25l.c: In function ‘sst25l_probe’:
drivers/mtd/devices/sst25l.c:381:11: warning: unused variable ‘i’ [-Wunused-variable]
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent ee16f2af
...@@ -378,7 +378,7 @@ static int __devinit sst25l_probe(struct spi_device *spi) ...@@ -378,7 +378,7 @@ static int __devinit sst25l_probe(struct spi_device *spi)
struct flash_info *flash_info; struct flash_info *flash_info;
struct sst25l_flash *flash; struct sst25l_flash *flash;
struct flash_platform_data *data; struct flash_platform_data *data;
int ret, i; int ret;
flash_info = sst25l_match_device(spi); flash_info = sst25l_match_device(spi);
if (!flash_info) if (!flash_info)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment