summaryrefslogtreecommitdiff
path: root/include/net/red.h
diff options
context:
space:
mode:
authorZhengchao Shao <shaozhengchao@huawei.com>2022-08-30 17:22:55 +0800
committerJakub Kicinski <kuba@kernel.org>2022-08-31 19:39:53 -0700
commit4516c873e3b55856012ddd6db9d4366ce3c60c5d (patch)
tree400dfe32a8cec1361177ea79e6630c18e6787efd /include/net/red.h
parent38af11717b386560f10f2891350933fc5200aeea (diff)
net: sched: gred/red: remove unused variables in struct red_stats
The variable "other" in the struct red_stats is not used. Remove it. Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/red.h')
-rw-r--r--include/net/red.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/red.h b/include/net/red.h
index be11dbd26492..454ac2b65d8c 100644
--- a/include/net/red.h
+++ b/include/net/red.h
@@ -122,7 +122,6 @@ struct red_stats {
u32 forced_drop; /* Forced drops, qavg > max_thresh */
u32 forced_mark; /* Forced marks, qavg > max_thresh */
u32 pdrop; /* Drops due to queue limits */
- u32 other; /* Drops due to drop() calls */
};
struct red_parms {