diff options
| author | Thomas Knobloch <[email protected]> | 2007-05-03 07:39:37 +0100 |
|---|---|---|
| committer | David Woodhouse <[email protected]> | 2007-05-03 07:39:37 +0100 |
| commit | 1a12f46af1af1a4b7b9c7ae7ab2c8ded3481a4ba (patch) | |
| tree | c0449ee0a2e9d31963798c010152b87048674a69 /include/linux/debugobjects.h | |
| parent | 4839f0481d8b985aabd6653ba42cf09e2abcc2bd (diff) | |
[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: Thomas Knobloch <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions