cciss: cleanup bitops usage
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 9 Nov 2012 00:12:22 +0000 (16:12 -0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 23 Nov 2012 13:27:22 +0000 (14:27 +0100)
commit1f118bc479173bff44aa591bcfa065e68884f2c5
treea7bf03a91bbb82f138581607acaefb2a3f479384
parent8d0ff3924bbad9fc53c3cc305d317033b16a5f05
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: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/cciss.c