diff options
author | Ming Lei <ming.lei@redhat.com> | 2018-10-29 13:57:18 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-09 14:23:16 +0100 |
commit | ba5d73851e71847ba7f7f4c27a1a6e1f5ab91c79 (patch) | |
tree | d876a86a4b9afda2edc702071d0f2775ae975f01 /lib/hweight.c | |
parent | block: make sure discard bio is aligned with logical block size (diff) | |
download | linux-ba5d73851e71847ba7f7f4c27a1a6e1f5ab91c79.tar.xz linux-ba5d73851e71847ba7f7f4c27a1a6e1f5ab91c79.zip |
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 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions