Skip to content
Commit 695902bb authored by Xu Wang's avatar Xu Wang Committed by Mike Snitzer
Browse files

dm thin: remove needless request_queue NULL pointer check



Since commit ff9ea323 ("block, bdi: an active gendisk always has a
request_queue associated with it") the request_queue pointer returned
from bdev_get_queue() shall never be NULL.

Signed-off-by: default avatarXu Wang <vulab@iscas.ac.cn>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent e30de3a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment