aboutsummaryrefslogtreecommitdiff
path: root/net/tap-stub.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-stub.c
parent3ab42e46acf867c45bc929fcc37693e327a35a24 (diff)
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-stub.c')
-rw-r--r--net/tap-stub.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/tap-stub.c b/net/tap-stub.c
index 4b24f61e3a..38673434cb 100644
--- a/net/tap-stub.c
+++ b/net/tap-stub.c
@@ -52,11 +52,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)
{
}