[PATCH 1/2] block: remove unnecessary argument from blk_execute_rq_nowait
Christoph Hellwig
hch at infradead.org
Thu Jan 21 12:02:57 EST 2021
On Thu, Jan 21, 2021 at 03:29:04PM +0100, Guoqing Jiang wrote:
> 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 triviall derive it from struct request.
> -extern void blk_execute_rq_nowait(struct request_queue *, struct gendisk *,
> +extern void blk_execute_rq_nowait(struct gendisk *,
> struct request *, int, rq_end_io_fn *);
More information about the Linux-nvme
mailing list