]> git.baikalelectronics.ru Git - kernel.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)
commit5ce79f7cb303a8d7c2e0a3b1f1a36904993db655
tree9ec996f3ac27a044003c2020ae3812dfa98d1d3c
parent4ff454088f9294c2ae48373de843a39ebab0582c
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