From 6b4065153c67e7578d448927e49f244deea70e4d Mon Sep 17 00:00:00 2001 From: David Gibson Date: Tue, 18 Feb 2025 13:07:19 +1100 Subject: tap: Remove unused ETH_HDR_INIT() macro 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 Signed-off-by: Stefano Brivio --- tap.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/tap.h b/tap.h index dfbd8b9..a476a12 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) -- cgit v1.2.3