Re: [PATCH 1/2] block: remove unnecessary argument from blk_execute_rq_nowait

From
Christoph Hellwig <hch@infradead.org>
Date
2021-01-21 17:12:28
Also in
linux-ide, linux-mmc, linux-nfs, linux-nvme, linux-scsi, target-devel, virtualization
Reply to
Guoqing Jiang, 2021-01-21
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.
quoted hunk ↗ jump to hunk
-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 *);
Thread (6 messages) 6 messages, 2 authors, last reply 2021-01-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help