diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ipv4_multicast/main.c | 2 | ||||
-rw-r--r-- | examples/vhost/main.c | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/examples/ipv4_multicast/main.c b/examples/ipv4_multicast/main.c index b908b317..d2e1bfb9 100644 --- a/examples/ipv4_multicast/main.c +++ b/examples/ipv4_multicast/main.c @@ -301,8 +301,6 @@ mcast_out_pkt(struct rte_mbuf *pkt, int use_clone) hdr->tx_offload = pkt->tx_offload; hdr->hash = pkt->hash; - hdr->ol_flags = pkt->ol_flags; - __rte_mbuf_sanity_check(hdr, 1); return hdr; } diff --git a/examples/vhost/main.c b/examples/vhost/main.c index fe232747..89d21fc0 100644 --- a/examples/vhost/main.c +++ b/examples/vhost/main.c @@ -87,9 +87,6 @@ /* Max number of devices. Limited by vmdq. */ #define MAX_DEVICES 64 -/* Size of buffers used for snprintfs. */ -#define MAX_PRINT_BUFF 6072 - /* Maximum long option length for option parsing. */ #define MAX_LONG_OPT_SZ 64 |