blk-mq: cleanup blk_mq_rq_to_pdu()
authorJens Axboe <axboe@fb.com>
Thu, 9 Apr 2015 21:54:05 +0000 (15:54 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 9 Apr 2015 21:54:05 +0000 (15:54 -0600)
commit2963e3f7e8e3465895897a175560210120b932ac
tree7c27aa09aa01cbdef12016b48728f3e9383d3b4d
parentc76cbbcf404475f8885b2252049dac99b0614868
blk-mq: cleanup blk_mq_rq_to_pdu()

Casting to void and adding the size of the request is "shit code" and
only a "crazy monkey on crack" would write that. So lets clean it up.

Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/blk-mq.h