forked from mirrors/linux
		
	 a4e1d0b76e
			
		
	
	
		a4e1d0b76e
		
	
	
	
	
		
			
			Since blk_mq_map_queues() and the .map_queues() callbacks always return 0, change their return type into void. Most callers ignore the returned value anyway. Cc: Christoph Hellwig <hch@lst.de> Cc: Jason Wang <jasowang@redhat.com> Cc: Keith Busch <kbusch@kernel.org> Cc: Martin K. Petersen <martin.petersen@oracle.com> Cc: Doug Gilbert <dgilbert@interlog.com> Cc: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: John Garry <john.garry@huawei.com> Acked-by: Md Haris Iqbal <haris.iqbal@ionos.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Link: https://lore.kernel.org/r/20220815170043.19489-3-bvanassche@acm.org [axboe: fold in fix from Bart] Signed-off-by: Jens Axboe <axboe@kernel.dk>
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			294 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			294 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0 */
 | |
| #ifndef _LINUX_BLK_MQ_VIRTIO_H
 | |
| #define _LINUX_BLK_MQ_VIRTIO_H
 | |
| 
 | |
| struct blk_mq_queue_map;
 | |
| struct virtio_device;
 | |
| 
 | |
| void blk_mq_virtio_map_queues(struct blk_mq_queue_map *qmap,
 | |
| 		struct virtio_device *vdev, int first_vec);
 | |
| 
 | |
| #endif /* _LINUX_BLK_MQ_VIRTIO_H */
 |