Skip to content

Commit 54f955b

Browse files
andy-shevmiquelraynal
authored andcommitted
mtd: physmap: Drop leftovers of removed code for Baikal SoC
The previous clean up killed the driver along with dropping some calls but missed one place to drop. Do it here. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202603121229.PPSg4X8q-lkp@intel.com/ Reported-by: Mark Brown <broonie@kernel.org> Closes: https://lore.kernel.org/r/abK8KXC70RC2K_fW@sirena.org.uk Fixes: 16d68d1 "(mtd: physmap: physmap-bt1-rom: Remove not-going-to-be-supported code for Baikal SoC)" Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
1 parent ca19808 commit 54f955b

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

drivers/mtd/maps/physmap-core.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -364,10 +364,6 @@ static int physmap_flash_of_init(struct platform_device *dev)
364364
info->maps[i].bankwidth = bankwidth;
365365
info->maps[i].device_node = dp;
366366

367-
err = of_flash_probe_bt1_rom(dev, dp, &info->maps[i]);
368-
if (err)
369-
return err;
370-
371367
err = of_flash_probe_gemini(dev, dp, &info->maps[i]);
372368
if (err)
373369
return err;

0 commit comments

Comments
 (0)