summaryrefslogtreecommitdiff
path: root/net/sctp/outqueue.c
diff options
context:
space:
mode:
authorThomas Knobloch <knobloch@siemens.com>2007-05-03 06:39:37 (GMT)
committerDavid Woodhouse <dwmw2@infradead.org>2007-05-03 06:39:37 (GMT)
commit1a12f46af1af1a4b7b9c7ae7ab2c8ded3481a4ba (patch)
treec0449ee0a2e9d31963798c010152b87048674a69 /net/sctp/outqueue.c
parent4839f0481d8b985aabd6653ba42cf09e2abcc2bd (diff)
downloadlinux-fsl-qoriq-1a12f46af1af1a4b7b9c7ae7ab2c8ded3481a4ba.tar.xz
[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 <knobloch@siemens.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'net/sctp/outqueue.c')
0 files changed, 0 insertions, 0 deletions