[NETFILTER]: nf_conntrack: remove unused struct list_head from protocols
Remove unused struct list_head from struct nf_conntrack_l3proto and nf_conntrack_l4proto as all protocols are kept in arrays, not linked lists. Signed-off-by: Martin Josefsson <gandalf@wlug.westbo.se> Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
committed by
David S. Miller
parent
3ffd5eeb1a
commit
824621eddd
@@ -18,9 +18,6 @@ struct nfattr;
|
||||
|
||||
struct nf_conntrack_l3proto
|
||||
{
|
||||
/* Next pointer. */
|
||||
struct list_head list;
|
||||
|
||||
/* L3 Protocol Family number. ex) PF_INET */
|
||||
u_int16_t l3proto;
|
||||
|
||||
|
@@ -16,9 +16,6 @@ struct nfattr;
|
||||
|
||||
struct nf_conntrack_l4proto
|
||||
{
|
||||
/* Next pointer. */
|
||||
struct list_head list;
|
||||
|
||||
/* L3 Protocol number. */
|
||||
u_int16_t l3proto;
|
||||
|
||||
|
Reference in New Issue
Block a user