From patchwork Sat Mar 9 18:34:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Kicinski X-Patchwork-Id: 13587858 X-Patchwork-Delegate: kuba@kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CE023481BD for ; Sat, 9 Mar 2024 18:35:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710009305; cv=none; b=swOWGIK1cMtugHGm7cnnqB4jWvS1tNeqxjhYmftS9vdZ9rRNQmWYp4kCW7A6RWv/xhE4tSH5TavHl8pQL6muCU3f31OF1oAoceJWizyb7ieKJ2KgAxYOXGVBmFULsuwQJsSY4Q53DfnZWbMz6TfXl2d//FMHeVOERr5dKGh5lOU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710009305; c=relaxed/simple; bh=QqQarZgY15uMZOOjoxFPSgU1BYh2Tq32Aw0DEWAre6Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KgbiC9tyeVrsG5JsX0Y47IV1kwsF8OoCUnhAaLz0kQiCppiocLXom6VkT1YbGfuvXQR0d1S6jmmTRsHO8KP3XZThRjkvHm2x4bOZ0ykKZp/R1Oq0jh/Lc4HXLY1GTfAnfebvIntYB+V7IjSKbV9o4vPlQrTGYyE4Ypx+Hf6f0ws= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lEypEXO5; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lEypEXO5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 596C7C43399; Sat, 9 Mar 2024 18:35:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710009305; bh=QqQarZgY15uMZOOjoxFPSgU1BYh2Tq32Aw0DEWAre6Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lEypEXO5fpKQ8qensJZY/+6qipbRvn4TE7HvHhdn/K0Q4hKc5EarhL1+SrCxAGItX emYEotAzdUDMBtFwx7DjHq4vhro5PcwiJ0y1gPvlBxWHu097lweiMQIorR22RRAUPx 7qtnO5jRNPCaaIADyMggm1vRbMNJj8Jfz4YKBBtrzNPBWH6ij8AC7RioU6KKFUHHw/ GI/IzXqLiOQwEngkvWqhlECgnxH1mUEFqmXhpj2IwIjkcDf+CanKk/QPHl9l6FGpU1 PskCtae3kxRuuVWMUqEeXIWXWFUbKHWVPqLtu+gCNPJq0Lw7Ncc4GO4YojalhVGxZM rPITIwesM5uxQ== From: Jakub Kicinski To: davem@davemloft.net Cc: netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com, jiri@resnulli.us, Jakub Kicinski , pshelar@ovn.org, dev@openvswitch.org Subject: [PATCH net-next 2/3] net: openvswitch: remove unnecessary linux/genetlink.h include Date: Sat, 9 Mar 2024 10:34:57 -0800 Message-ID: <20240309183458.3014713-3-kuba@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240309183458.3014713-1-kuba@kernel.org> References: <20240309183458.3014713-1-kuba@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org 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). Signed-off-by: Jakub Kicinski Reviewed-by: Simon Horman --- CC: pshelar@ovn.org CC: dev@openvswitch.org --- net/openvswitch/meter.h | 1 - 1 file changed, 1 deletion(-) 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 #include #include -#include #include #include