summaryrefslogtreecommitdiffstats
path: root/net/openvswitch
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-03-29 10:57:09 -0700
committerJakub Kicinski <kuba@kernel.org>2024-04-01 21:44:34 -0700
commitf97c9b533a1dc60a77ff329e0117acc5ae17def5 (patch)
treedabaf8fd7ff5c2682d7d1e0b3d9b1c17c0381fee /net/openvswitch
parent5bc63d3a6f466add504f283d9f743f20ca9ec334 (diff)
downloadlinux-f97c9b533a1dc60a77ff329e0117acc5ae17def5.tar.gz
linux-f97c9b533a1dc60a77ff329e0117acc5ae17def5.tar.bz2
linux-f97c9b533a1dc60a77ff329e0117acc5ae17def5.zip
net: openvswitch: remove unnecessary linux/genetlink.h include
The only legit reason I could think of for net/genetlink.h and linux/genetlink.h to be separate would be if one was included by other headers and we wanted to keep it lightweight. That is not the case, net/openvswitch/meter.h includes linux/genetlink.h but for no apparent reason (for struct genl_family perhaps? it's not necessary, types of externs do not need to be known). Link: https://lore.kernel.org/r/20240329175710.291749-3-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/openvswitch')
-rw-r--r--net/openvswitch/meter.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/openvswitch/meter.h b/net/openvswitch/meter.h
index ed11cd12b512..8bbf983cd244 100644
--- a/net/openvswitch/meter.h
+++ b/net/openvswitch/meter.h
@@ -11,7 +11,6 @@
#include <linux/kernel.h>
#include <linux/netlink.h>
#include <linux/openvswitch.h>
-#include <linux/genetlink.h>
#include <linux/skbuff.h>
#include <linux/bits.h>