From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=A3KKOne7; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTPS id D3A895A0652 for ; Wed, 04 Feb 2026 13:08:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1770206932; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1skphFYgO27SP0gSbdpwTGFlhZbrRsApz2ca7DtB+As=; b=A3KKOne7olUMyzPXh6Ve22ZKwBU+oWPe9dN0MKWo/WAWaG2tKj64kgQ9NeXPhY8U8Z9eD3 /mtCEc/xCoh2cvQpzrslw1AzLafTZZzC2E3nZQIHpOQdOU/5Wv09WYA4IDEjUqRiQY+YQ+ nBMw57wLStO6sA+aj8u+vKiiRFRqCKE= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-377-HW0RqwEcP_KxMfl8cfN0rA-1; Wed, 04 Feb 2026 07:08:51 -0500 X-MC-Unique: HW0RqwEcP_KxMfl8cfN0rA-1 X-Mimecast-MFC-AGG-ID: HW0RqwEcP_KxMfl8cfN0rA_1770206930 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 5BA051956052 for ; Wed, 4 Feb 2026 12:08:50 +0000 (UTC) Received: from lenovo-t14s.redhat.com (unknown [10.45.224.229]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 329C218003F5; Wed, 4 Feb 2026 12:08:48 +0000 (UTC) From: Laurent Vivier To: passt-dev@passt.top Subject: [PATCH] virtio: Remove duplicate VIRTQUEUE_MAX_SIZE definition Date: Wed, 4 Feb 2026 13:08:47 +0100 Message-ID: <20260204120847.1311589-1-lvivier@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: CKtLW0l69qrqfRC4GO1XMbjaQvm3nWKVqxgrD_jGsVQ_1770206930 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true Message-ID-Hash: O5BJ4ML5GTEDJXBYWRSTH43HIUDWDXL6 X-Message-ID-Hash: O5BJ4ML5GTEDJXBYWRSTH43HIUDWDXL6 X-MailFrom: lvivier@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Laurent Vivier X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: VIRTQUEUE_MAX_SIZE is already defined in virtio.h, which virtio.c includes. Remove the redundant local definition. Signed-off-by: Laurent Vivier --- 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