Ming Lei ba5d73851e 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>
2018-11-09 06:23:16 -07:00
..
2018-11-01 19:59:53 -06:00
2018-10-01 08:58:57 -06:00
2018-06-17 05:37:55 +09:00
2018-11-01 19:59:53 -06:00
2018-10-01 08:58:57 -06:00
2018-10-01 08:58:57 -06:00
2018-10-25 11:17:40 -06:00
2018-05-31 10:50:54 -04:00