]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
uapi: net_dropmon: drop unused is_drop_point_hw macro
authorRubenKelevra <rubenkelevra@gmail.com>
Tue, 24 Jun 2025 16:57:11 +0000 (18:57 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 25 Jun 2025 22:35:20 +0000 (15:35 -0700)
commit2855e43c6bb154a9b8e27abda8df364aed574b22
treea877b1ea2c1f7c6644d19075cae77cceddb858e9
parent8bd0af3154b2206ce19f8b1410339f7a2a56d0c3
uapi: net_dropmon: drop unused is_drop_point_hw macro

Commit 4ea7e38696c7 ("dropmon: add ability to detect when hardware
drops rx packets") introduced is_drop_point_hw, but the symbol was
never referenced anywhere in the kernel tree and is currently not used
by dropwatch. I could not find, to the best of my abilities, a current
out-of-tree user of this macro.

The definition also contains a syntax error in its for-loop, so any
project that tried to compile against it would fail. Removing the
macro therefore eliminates dead code without breaking existing
users.

Signed-off-by: RubenKelevra <rubenkelevra@gmail.com>
Link: https://patch.msgid.link/20250624165711.1188691-1-rubenkelevra@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/uapi/linux/net_dropmon.h