Skip to content
Commit 2855e43c authored by RubenKelevra's avatar RubenKelevra Committed by Jakub Kicinski
Browse files

uapi: net_dropmon: drop unused is_drop_point_hw macro



Commit 4ea7e386 ("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: default avatarRubenKelevra <rubenkelevra@gmail.com>
Link: https://patch.msgid.link/20250624165711.1188691-1-rubenkelevra@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 8bd0af31
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment