The 'q' is not used since commit a1ce35fa4985 ("block: remove dead elevator code"), also update the comment of the function. And more importantly it never really was needed to start with given that we can trivial derive it from struct request.
Showing the changes to include/linux/blkdev.h (1 of 11 files). Show all
Unified · Split
| @@ -950,7 +950,7 @@ extern int blk_rq_map_user_iov(struct request_queue *, struct request *, · 949 unmodified lines | ||
| 950 | 950 | gfp_t); |
| 951 | 951 | extern void blk_execute_rq(struct request_queue *, struct gendisk *, |
| 952 | 952 | struct request *, int); |
| 953 | −extern void blk_execute_rq_nowait(struct request_queue *, struct gendisk *, | |
| 953 | +extern void blk_execute_rq_nowait(struct gendisk *, | |
| 954 | 954 | struct request *, int, rq_end_io_fn *); |
| 955 | 955 | |
| 956 | 956 | /* Helper to convert REQ_OP_XXX to its string format XXX */ |