mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00: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
1 changed files with 0 additions and 6 deletions
|
@ -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 a new issue