Skip to content

Commit d81a32f

Browse files
dedekindDavid Woodhouse
authored andcommitted
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: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
1 parent ee16f2a commit d81a32f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/mtd/devices/sst25l.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ static int __devinit sst25l_probe(struct spi_device *spi)
378378
struct flash_info *flash_info;
379379
struct sst25l_flash *flash;
380380
struct flash_platform_data *data;
381-
int ret, i;
381+
int ret;
382382

383383
flash_info = sst25l_match_device(spi);
384384
if (!flash_info)

0 commit comments

Comments
 (0)