diff options
author | Stanley Chu <stanley.chu@mediatek.com> | 2019-09-12 10:35:28 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-09-12 15:11:58 +0200 |
commit | b804049dce9128a88558bc1594ff96d6632fbc10 (patch) | |
tree | 7dd17f07db285da0e6ffd6be4f95e41a5c88b8e9 /security/inode.c | |
parent | block: bypass blk_set_runtime_active for uninitialized q->dev (diff) | |
download | linux-b804049dce9128a88558bc1594ff96d6632fbc10.tar.xz linux-b804049dce9128a88558bc1594ff96d6632fbc10.zip |
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>
Diffstat (limited to 'security/inode.c')
0 files changed, 0 insertions, 0 deletions