diff options
author | Guoqing Jiang <guoqing.jiang@cloud.ionos.com> | 2021-01-21 17:21:50 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-01-26 23:11:34 +0300 |
commit | 370276bac8ec6f74fb52a518ef05aa84d1059067 (patch) | |
tree | ee2228b4b76491f51fd7c4a7fde1d7c4f835e20f /drivers/block/drbd/drbd_int.h | |
parent | 2126979183148a1bbe8aebe67079856c15ae1763 (diff) | |
download | linux-370276bac8ec6f74fb52a518ef05aa84d1059067.tar.xz |
drbd: remove unused argument from drbd_request_prepare and __drbd_make_request
We can remove start_jif since it is not used by drbd_request_prepare,
then remove it from __drbd_make_request further.
Cc: Philipp Reisner <philipp.reisner@linbit.com>
Cc: Lars Ellenberg <lars.ellenberg@linbit.com>
Cc: drbd-dev@lists.linbit.com
Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/drbd/drbd_int.h')
-rw-r--r-- | drivers/block/drbd/drbd_int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h index b2c93a29c251..de59f72d49cc 100644 --- a/drivers/block/drbd/drbd_int.h +++ b/drivers/block/drbd/drbd_int.h @@ -1449,7 +1449,7 @@ extern void conn_free_crypto(struct drbd_connection *connection); /* drbd_req */ extern void do_submit(struct work_struct *ws); -extern void __drbd_make_request(struct drbd_device *, struct bio *, unsigned long); +extern void __drbd_make_request(struct drbd_device *, struct bio *); extern blk_qc_t drbd_submit_bio(struct bio *bio); extern int drbd_read_remote(struct drbd_device *device, struct drbd_request *req); extern int is_valid_ar_handle(struct drbd_request *, sector_t); |