]> git.baikalelectronics.ru Git - kernel.git/commit
dm table: remove needless request_queue NULL pointer checks
authorJeffle Xu <jefflexu@linux.alibaba.com>
Mon, 8 Feb 2021 16:57:05 +0000 (11:57 -0500)
committerMike Snitzer <snitzer@redhat.com>
Tue, 9 Feb 2021 13:47:49 +0000 (08:47 -0500)
commit759b3f1129bec2a2c33ce8b0fbf0b56455a67355
treea9b602cf4657a5d186a2b25643d786b783df5e03
parent9fe488047f9e1982fe2050de7bca2b631775278a
dm table: remove needless request_queue NULL pointer checks

Since commit ab83f88fbf95 ("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: Jeffle Xu <jefflexu@linux.alibaba.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-table.c