From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202502 header.b=MAYp/MsC; dkim-atps=neutral Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id B58925A0621 for ; Tue, 18 Feb 2025 03:07:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202502; t=1739844441; bh=k/S9akjX/egrZUXrAG0RqAB2BambbcdduV2FQBcz0nE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MAYp/MsCkRapbLuWvvlPCy85/wUAsZ6/KVgTcZ5lO7KAvJysPBxXg6Qt+AAuCWV+P 6ypMUMgVt+cb9hGgjqMQmD620xk9EENrCGGkkx9bGj7Mr9XLpQYgjMh024hAgAyO1D UlYigP7E8AXdxy4nXbGX08zTIaOUNaHl5wcibmwrmr8/AhDi9ar3SE6LdQXmwMekF+ xeYMtD9hXzom5inS/MtgLvuCvHRD/6ieosCXhsE/uQQadL77Jc0xqEq8GqBjfxmSYw OTx+6XuekdK4RsgUReV/pDwSg7G2Trl3SL4AkFb0N+rR4vo5VigINnUaaSS/YIXomt RGUOvim872kyg== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4YxjZx74xhz4x0t; Tue, 18 Feb 2025 13:07:21 +1100 (AEDT) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH 3/3] tap: Remove unused ETH_HDR_INIT() macro Date: Tue, 18 Feb 2025 13:07:19 +1100 Message-ID: <20250218020719.675748-4-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250218020719.675748-1-david@gibson.dropbear.id.au> References: <20250218020719.675748-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: OREIEOHSOG7EQQTML5SQ65N4JE3JJ5PM X-Message-ID-Hash: OREIEOHSOG7EQQTML5SQ65N4JE3JJ5PM X-MailFrom: dgibson@gandalf.ozlabs.org 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: David Gibson 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: The uses of this macro were removed in d4598e1d18ac ("udp: Use the same buffer for the L2 header for all frames"). Signed-off-by: David Gibson --- tap.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/tap.h b/tap.h index dfbd8b9e..a476a125 100644 --- a/tap.h +++ b/tap.h @@ -6,8 +6,6 @@ #ifndef TAP_H #define TAP_H -#define ETH_HDR_INIT(proto) { .h_proto = htons_constant(proto) } - /** * struct tap_hdr - tap backend specific headers * @vnet_len: Frame length (for qemu socket transport) -- 2.48.1