aboutsummaryrefslogtreecommitdiff
path: root/net/tap-bsd.c
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2024-04-28 16:00:44 +0900
committerJason Wang <jasowang@redhat.com>2024-06-04 15:14:25 +0800
commit52a7ff526964e7810ec1ccc71efbdd60952dd20b (patch)
tree8cef0a19baaeade8ecfac931edcbc3c2497c0574 /net/tap-bsd.c
parent3ab42e46acf867c45bc929fcc37693e327a35a24 (diff)
downloadqemu-52a7ff526964e7810ec1ccc71efbdd60952dd20b.zip
qemu-52a7ff526964e7810ec1ccc71efbdd60952dd20b.tar.gz
qemu-52a7ff526964e7810ec1ccc71efbdd60952dd20b.tar.bz2
tap: Remove tap_probe_vnet_hdr_len()
It was necessary since an Linux older than 2.6.35 may implement the virtio-net header but may not allow to change its length. Remove it since such an old Linux is no longer supported. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net/tap-bsd.c')
-rw-r--r--net/tap-bsd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/tap-bsd.c b/net/tap-bsd.c
index 274ea7b..b4c8444 100644
--- a/net/tap-bsd.c
+++ b/net/tap-bsd.c
@@ -217,11 +217,6 @@ int tap_probe_has_uso(int fd)
return 0;
}
-int tap_probe_vnet_hdr_len(int fd, int len)
-{
- return 0;
-}
-
void tap_fd_set_vnet_hdr_len(int fd, int len)
{
}