lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 28 Feb 2023 11:12:41 +0800
From:   lingfuyi <lingfuyi@....com>
To:     jhs@...atatu.com, davem@...emloft.net
Cc:     netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
        lingfuyi <lingfuyi@...inos.cn>, k2ci <kernel-bot@...inos.cn>
Subject: [PATCH] sched: delete some api is not used

From: lingfuyi <lingfuyi@...inos.cn>

fix compile errors like this:
net/sched/cls_api.c:141:13: error: ‘tcf_exts_miss_cookie_base_destroy’
defined but not used [-Werror=unused-function]

Reported-by: k2ci <kernel-bot@...inos.cn>
Signed-off-by: lingfuyi <lingfuyi@...inos.cn>
---
 net/sched/cls_api.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c
index 3569e2c3660c..eca9e60440df 100644
--- a/net/sched/cls_api.c
+++ b/net/sched/cls_api.c
@@ -138,9 +138,6 @@ tcf_exts_miss_cookie_base_alloc(struct tcf_exts *exts, struct tcf_proto *tp,
 	return 0;
 }
 
-static void tcf_exts_miss_cookie_base_destroy(struct tcf_exts *exts)
-{
-}
 #endif /* IS_ENABLED(CONFIG_NET_TC_SKB_EXT) */
 
 static u64 tcf_exts_miss_cookie_get(u32 miss_cookie_base, int act_index)
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ