]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
cciss: cleanup bitops usage
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 28 Sep 2012 00:18:59 +0000 (10:18 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 10 Oct 2012 04:00:21 +0000 (15:00 +1100)
commitab1c1e3e88d2f2fd8122d91dcbdb60cba7a06f19
tree970cc500b190461dc81036d631bc84cc87379e12
parent3a66952ffd57ba9e0756f55ac9d680eb9e6c2508
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