public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Laurent Vivier <lvivier@redhat.com>
To: passt-dev@passt.top
Cc: Laurent Vivier <lvivier@redhat.com>
Subject: [PATCH] virtio: Remove duplicate VIRTQUEUE_MAX_SIZE definition
Date: Wed,  4 Feb 2026 13:08:47 +0100	[thread overview]
Message-ID: <20260204120847.1311589-1-lvivier@redhat.com> (raw)

VIRTQUEUE_MAX_SIZE is already defined in virtio.h, which virtio.c
includes. Remove the redundant local definition.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
---
 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


             reply	other threads:[~2026-02-04 12:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-04 12:08 Laurent Vivier [this message]
2026-02-04 12:20 ` David Gibson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260204120847.1311589-1-lvivier@redhat.com \
    --to=lvivier@redhat.com \
    --cc=passt-dev@passt.top \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).