]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cciss: cleanup bitops usage
authorAkinobu Mita <akinobu.mita@gmail.com>
Thu, 13 Sep 2012 00:58:23 +0000 (10:58 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 18 Sep 2012 06:04:10 +0000 (16:04 +1000)
commit3e1aeac10eb1c131aadccac6d48cf23c798f75e8
treed10ee43873aa8efeda8d2241097663806e0f8488
parent16fbb3871b3140f78466686c01c1f8dcad57a13f
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