diff options
author | Ming Lei <ming.lei@redhat.com> | 2018-10-29 15:57:18 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-09 16:23:16 +0300 |
commit | ba5d73851e71847ba7f7f4c27a1a6e1f5ab91c79 (patch) | |
tree | d876a86a4b9afda2edc702071d0f2775ae975f01 /block/blk-mq-debugfs-zoned.c | |
parent | 1adfc5e4136f5967d591c399aff95b3b035f16b7 (diff) | |
download | linux-ba5d73851e71847ba7f7f4c27a1a6e1f5ab91c79.tar.xz |
block: cleanup __blkdev_issue_discard()
Cleanup __blkdev_issue_discard() a bit:
- remove local variable of 'end_sect'
- remove code block of 'fail'
Cc: Mike Snitzer <snitzer@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Xiao Ni <xni@redhat.com>
Cc: Mariusz Dabrowski <mariusz.dabrowski@intel.com>
Tested-by: Rui Salvaterra <rsalvaterra@gmail.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-debugfs-zoned.c')
0 files changed, 0 insertions, 0 deletions