mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 18:26:41 +07:00
mtd: nandsim: remove unused code
Remove the leftover from commit 831d316b8b
("mtd: nandsim: remove autoincrement code").
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
6d07fcf7e0
commit
8e716a8b58
@ -760,12 +760,6 @@ static int init_nandsim(struct mtd_info *mtd)
|
||||
ns->nbparts += 1;
|
||||
}
|
||||
|
||||
/* Detect how many ID bytes the NAND chip outputs */
|
||||
for (i = 0; nand_flash_ids[i].name != NULL; i++) {
|
||||
if (second_id_byte != nand_flash_ids[i].dev_id)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (ns->busw == 16)
|
||||
NS_WARN("16-bit flashes support wasn't tested\n");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user