raid5: remove a call to get_start_sect
authorChristoph Hellwig <hch@lst.de>
Wed, 23 Aug 2017 17:10:28 +0000 (19:10 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 23 Aug 2017 18:49:49 +0000 (12:49 -0600)
commit10433d04b8e647a50feffec72fd3cf40ce42b084
tree39ad0c086e96568043919437f5571bc223b3033c
parentf8f84b2dfda5a74c56536a9e9092d2a5d761db78
raid5: remove a call to get_start_sect

The block layer always remaps partitions before calling into the
->make_request methods of drivers.  Thus the call to get_start_sect in
in_chunk_boundary will always return 0 and can be removed.

Reviewed-by: Shaohua Li <shli@fb.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/raid5.c