diff options
author | YueHaibing <yuehaibing@huawei.com> | 2023-07-22 05:21:23 +0200 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-07-23 17:08:14 +0200 |
commit | 1faf7e4a0b6ff13d50c45b4b3469fc125536cf37 (patch) | |
tree | 16fb70f3a6324f470a38e4af4055d2e1d14935c9 /kernel/trace/tracing_map.h | |
parent | Linux 6.5-rc2 (diff) | |
download | linux-1faf7e4a0b6ff13d50c45b4b3469fc125536cf37.tar.xz linux-1faf7e4a0b6ff13d50c45b4b3469fc125536cf37.zip |
tracing: Remove unused extern declaration tracing_map_set_field_descr()
Since commit 08d43a5fa063 ("tracing: Add lock-free tracing_map"),
this is never used, so can be removed.
Link: https://lore.kernel.org/linux-trace-kernel/20230722032123.24664-1-yuehaibing@huawei.com
Cc: <mhiramat@kernel.org>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to '')
-rw-r--r-- | kernel/trace/tracing_map.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/trace/tracing_map.h b/kernel/trace/tracing_map.h index 2c765ee2a4d4..99c37eeebc16 100644 --- a/kernel/trace/tracing_map.h +++ b/kernel/trace/tracing_map.h @@ -272,10 +272,6 @@ extern u64 tracing_map_read_sum(struct tracing_map_elt *elt, unsigned int i); extern u64 tracing_map_read_var(struct tracing_map_elt *elt, unsigned int i); extern u64 tracing_map_read_var_once(struct tracing_map_elt *elt, unsigned int i); -extern void tracing_map_set_field_descr(struct tracing_map *map, - unsigned int i, - unsigned int key_offset, - tracing_map_cmp_fn_t cmp_fn); extern int tracing_map_sort_entries(struct tracing_map *map, struct tracing_map_sort_key *sort_keys, |