Skip to content
Commit 1a12f46a authored by Thomas Knobloch's avatar Thomas Knobloch Committed by David Woodhouse
Browse files

[MTD] [NAND] Tidy up handling of page number in nand_block_bad()



Further to the previous patch fixing the calculation of page number,
both branches are using the same result. Clean up the function 
accordingly, calculating it (and also masking with pagemask) only in one 
place.

Signed-off-by: default avatarThomas Knobloch <knobloch@siemens.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 4839f048
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment