On Wed, Feb 04, 2026 at 01:08:47PM +0100, Laurent Vivier wrote:
VIRTQUEUE_MAX_SIZE is already defined in virtio.h, which virtio.c includes. Remove the redundant local definition.
Signed-off-by: Laurent Vivier
Reviewed-by: David Gibson
--- virtio.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/virtio.c b/virtio.c index 447137ee83dd..7e31e799f881 100644 --- a/virtio.c +++ b/virtio.c @@ -83,8 +83,6 @@ #include "virtio.h" #include "vhost_user.h"
-#define VIRTQUEUE_MAX_SIZE 1024 - /** * vu_gpa_to_va() - Translate guest physical address to our virtual address. * @dev: Vhost-user device -- 2.52.0
-- David Gibson (he or they) | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you, not the other way | around. http://www.ozlabs.org/~dgibson