projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'mtd/for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux
[linux-2.6-microblaze.git]
/
drivers
/
mtd
/
nand
/
raw
/
nand_bbt.c
diff --git
a/drivers/mtd/nand/raw/nand_bbt.c
b/drivers/mtd/nand/raw/nand_bbt.c
index
e4664fa
..
a8fba5f
100644
(file)
--- a/
drivers/mtd/nand/raw/nand_bbt.c
+++ b/
drivers/mtd/nand/raw/nand_bbt.c
@@
-576,7
+576,6
@@
static int search_bbt(struct nand_chip *this, uint8_t *buf,
startblock &= bbtblocks - 1;
} else {
chips = 1;
- bbtblocks = mtd->size >> this->bbt_erase_shift;
}
for (i = 0; i < chips; i++) {