]> 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>
Mon, 22 Oct 2012 04:01:06 +0000 (15:01 +1100)
commitd31c1b01d1073cc4c5c2ea3153aafdb3f37cef4a
tree06dc80c95066c1a5f7a35aa140faf45f50240523
parent01fa4edfa1a5d6b5ca0e91acf99db3573e947dd5
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