[PATCH] blk: remove BLK_TAGS_{PER_LONG|MASK}
Replace BLK_TAGS_PER_LONG with BITS_PER_LONG and remove unused BLK_TAGS_MASK. Signed-off-by: Tejun Heo <htejun@gmail.com> Acked-by: Jens Axboe <axboe@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
fa72b903f7
commit
f7d37d028d
@@ -285,9 +285,6 @@ enum blk_queue_state {
|
||||
Queue_up,
|
||||
};
|
||||
|
||||
#define BLK_TAGS_PER_LONG (sizeof(unsigned long) * 8)
|
||||
#define BLK_TAGS_MASK (BLK_TAGS_PER_LONG - 1)
|
||||
|
||||
struct blk_queue_tag {
|
||||
struct request **tag_index; /* map of busy tags */
|
||||
unsigned long *tag_map; /* bit map of free/busy tags */
|
||||
|
Reference in New Issue
Block a user