mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 10:07:52 +00:00
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 <[email protected]> Cc: Jason Wang <[email protected]> Cc: Keith Busch <[email protected]> Cc: Martin K. Petersen <[email protected]> Cc: Doug Gilbert <[email protected]> Cc: Michael S. Tsirkin <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Reviewed-by: John Garry <[email protected]> Acked-by: Md Haris Iqbal <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Link: https://lore.kernel.org/r/[email protected] [axboe: fold in fix from Bart] Signed-off-by: Jens Axboe <[email protected]>
12 lines
294 B
C
12 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 */
|