]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
cciss: cleanup bitops usage
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 12 Oct 2012 04:22:52 +0000 (15:22 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 18 Oct 2012 02:23:56 +0000 (13:23 +1100)
commit583f7d2cac215af587b2ba99880125ef6b4537ea
tree324b586918ae82296c05318db38c6ce5ff49d8c8
parent653f0676c43006f9bc222b90a13e629f0e04948c
cciss: cleanup bitops usage

- Remove unnecessary correction of bit and address
- Use BITS_TO_LONGS macro to calculate bitmap size
- Use bitmap_zero()

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Mike Miller <mike.miller@hp.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/block/cciss.c