From: Jakub Kicinski Date: Fri, 29 Mar 2024 17:57:09 +0000 (-0700) Subject: net: openvswitch: remove unnecessary linux/genetlink.h include X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f97c9b533a1dc60a77ff329e0117acc5ae17def5;p=linux.git 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 --- diff --git a/net/openvswitch/meter.h b/net/openvswitch/meter.h index ed11cd12b512f..8bbf983cd2441 100644 --- a/net/openvswitch/meter.h +++ b/net/openvswitch/meter.h @@ -11,7 +11,6 @@ #include #include #include -#include #include #include