diff options
-rw-r--r-- | drivers/mtd/devices/sst25l.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/mtd/devices/sst25l.c b/drivers/mtd/devices/sst25l.c index 0a11721f146e..175c5233f29f 100644 --- a/drivers/mtd/devices/sst25l.c +++ b/drivers/mtd/devices/sst25l.c | |||
@@ -410,17 +410,6 @@ static int __init sst25l_probe(struct spi_device *spi) | |||
410 | flash->mtd.erasesize, flash->mtd.erasesize / 1024, | 410 | flash->mtd.erasesize, flash->mtd.erasesize / 1024, |
411 | flash->mtd.numeraseregions); | 411 | flash->mtd.numeraseregions); |
412 | 412 | ||
413 | if (flash->mtd.numeraseregions) | ||
414 | for (i = 0; i < flash->mtd.numeraseregions; i++) | ||
415 | DEBUG(MTD_DEBUG_LEVEL2, | ||
416 | "mtd.eraseregions[%d] = { .offset = 0x%llx, " | ||
417 | ".erasesize = 0x%.8x (%uKiB), " | ||
418 | ".numblocks = %d }\n", | ||
419 | i, (long long)flash->mtd.eraseregions[i].offset, | ||
420 | flash->mtd.eraseregions[i].erasesize, | ||
421 | flash->mtd.eraseregions[i].erasesize / 1024, | ||
422 | flash->mtd.eraseregions[i].numblocks); | ||
423 | |||
424 | if (mtd_has_partitions()) { | 413 | if (mtd_has_partitions()) { |
425 | struct mtd_partition *parts = NULL; | 414 | struct mtd_partition *parts = NULL; |
426 | int nr_parts = 0; | 415 | int nr_parts = 0; |