aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2025-02-18 13:07:19 +1100
committerStefano Brivio <sbrivio@redhat.com>2025-02-18 08:43:18 +0100
commit6b4065153c67e7578d448927e49f244deea70e4d (patch)
tree4c00594cb4056d377a815599ea0b659c1067263b
parent354bc0bab1cb6095592288674d375511443427fd (diff)
downloadpasst-6b4065153c67e7578d448927e49f244deea70e4d.tar
passt-6b4065153c67e7578d448927e49f244deea70e4d.tar.gz
passt-6b4065153c67e7578d448927e49f244deea70e4d.tar.bz2
passt-6b4065153c67e7578d448927e49f244deea70e4d.tar.lz
passt-6b4065153c67e7578d448927e49f244deea70e4d.tar.xz
passt-6b4065153c67e7578d448927e49f244deea70e4d.tar.zst
passt-6b4065153c67e7578d448927e49f244deea70e4d.zip
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 <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r--tap.h2
1 files changed, 0 insertions, 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)