]> git.karo-electronics.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>
Tue, 16 Oct 2012 02:47:59 +0000 (13:47 +1100)
commit4bab515d185de1b7e02ae19b47f95009056ab64f
tree220bdf28d16881b6d571ba1c29c35e6bd165a39b
parent751caa30f25534cd3c238046092024de48204c47
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