commit | b804049dce9128a88558bc1594ff96d6632fbc10 | [log] [tgz] |
---|---|---|
author | Stanley Chu <stanley.chu@mediatek.com> | Thu Sep 12 16:35:28 2019 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Sep 12 07:11:58 2019 -0600 |
tree | 7dd17f07db285da0e6ffd6be4f95e41a5c88b8e9 | |
parent | 8a15b4d7cd872b784f585d38d9240f6ee588381b [diff] |
scsi: core: remove dummy q->dev check Currently blk_set_runtime_active() is checking if q->dev is null by itself, thus remove the same checking in its user: scsi_dev_type_resume(). Signed-off-by: Stanley Chu <stanley.chu@mediatek.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>