Skip to content

Commit

Permalink
mtd: sst25l: kill unused variable
Browse files Browse the repository at this point in the history
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: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
Artem Bityutskiy authored and David Woodhouse committed Jan 9, 2012
1 parent ee16f2a commit d81a32f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/devices/sst25l.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ static int __devinit sst25l_probe(struct spi_device *spi)
struct flash_info *flash_info;
struct sst25l_flash *flash;
struct flash_platform_data *data;
int ret, i;
int ret;

flash_info = sst25l_match_device(spi);
if (!flash_info)
Expand Down

0 comments on commit d81a32f

Please sign in to comment.