1
0
mirror of https://passt.top/passt synced 2025-02-22 02:42:22 +00:00

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>
This commit is contained in:
David Gibson 2025-02-18 13:07:19 +11:00 committed by Stefano Brivio
parent 354bc0bab1
commit 6b4065153c

2
tap.h
View File

@ -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)