From ba3a63eefbfeeafc95cb401777ba049af32a2b4d Mon Sep 17 00:00:00 2001 From: Duncan Roe Date: Fri, 17 Jan 2020 22:32:03 +1100 Subject: src: Simplify struct pkt_buff: remove head head and data always had the same value. head was in the minority, so replace with data where it was used. Signed-off-by: Duncan Roe Signed-off-by: Pablo Neira Ayuso --- src/internal.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/internal.h') diff --git a/src/internal.h b/src/internal.h index d968325..0cfa425 100644 --- a/src/internal.h +++ b/src/internal.h @@ -23,7 +23,6 @@ struct pkt_buff { uint8_t *network_header; uint8_t *transport_header; - uint8_t *head; uint8_t *data; uint8_t *tail; -- cgit v1.2.3