Skip to content

Commit f97c9b5

Browse files
committed
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/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 5bc63d3 commit f97c9b5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

net/openvswitch/meter.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include <linux/kernel.h>
1212
#include <linux/netlink.h>
1313
#include <linux/openvswitch.h>
14-
#include <linux/genetlink.h>
1514
#include <linux/skbuff.h>
1615
#include <linux/bits.h>
1716

0 commit comments

Comments
 (0)