]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: nandsim: remove unused ns->geom.oobshift
authorAkinobu Mita <akinobu.mita@gmail.com>
Sun, 28 Jul 2013 02:21:58 +0000 (11:21 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 5 Aug 2013 20:06:02 +0000 (21:06 +0100)
commit2f3b07a7fcaac760cfefec6af123d52b2ea7c71e
tree9ec996f3ac27a044003c2020ae3812dfa98d1d3c
parent8e716a8b581a4700932a52ee89e981fa3339e0ff
mtd: nandsim: remove unused ns->geom.oobshift

ns->geom.oobshift holds bits number in OOB size, but OOB size is not
always power of two.  So it is useless and it actually isn't used in
this driver except for just printing the value at module loading.

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>
drivers/mtd/nand/nandsim.c