From: lingfuyi <lingfuyi@126.com>
To: jhs@mojatatu.com, davem@davemloft.net
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
lingfuyi <lingfuyi@kylinos.cn>, k2ci <kernel-bot@kylinos.cn>
Subject: [PATCH] sched: delete some api is not used
Date: Tue, 28 Feb 2023 11:12:41 +0800 [thread overview]
Message-ID: <20230228031241.1675263-1-lingfuyi@126.com> (raw)
From: lingfuyi <lingfuyi@kylinos.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@kylinos.cn>
Signed-off-by: lingfuyi <lingfuyi@kylinos.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
next reply other threads:[~2023-02-28 4:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-28 3:12 lingfuyi [this message]
2023-02-28 7:34 ` kernel test robot
2023-02-28 7:34 ` kernel test robot
2023-02-28 12:04 ` Paolo Abeni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230228031241.1675263-1-lingfuyi@126.com \
--to=lingfuyi@126.com \
--cc=davem@davemloft.net \
--cc=jhs@mojatatu.com \
--cc=kernel-bot@kylinos.cn \
--cc=lingfuyi@kylinos.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®