From 79672d1647d9d005cd295cb63b10f801ca97dea2 Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Thu, 23 May 2019 11:45:03 +0200 Subject: [PATCH] net/pkt: Remove useless _reserved attribute This attribute was used when net_pkt where queued into a fifo. However, since the cove to k_work queues (due to the introduction of TC), such attribute has been totally useless. Removing it gains 4 bytes in net_pkt structure. Signed-off-by: Tomasz Bursztyka --- include/net/net_pkt.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/net/net_pkt.h b/include/net/net_pkt.h index 2c0b46d3e03..9b953cc559b 100644 --- a/include/net/net_pkt.h +++ b/include/net/net_pkt.h @@ -58,9 +58,6 @@ struct net_pkt_cursor { * net_pkt_clone() function. */ struct net_pkt { - /** FIFO uses first 4 bytes itself, reserve space */ - int _reserved; - /** Internal variable that is used when packet is sent */ struct k_work work;