Skip to content

Commit 1faf7e4

Browse files
YueHaibingrostedt
YueHaibing
authored andcommitted
tracing: Remove unused extern declaration tracing_map_set_field_descr()
Since commit 08d43a5 ("tracing: Add lock-free tracing_map"), this is never used, so can be removed. Link: https://lore.kernel.org/linux-trace-kernel/[email protected] Cc: <[email protected]> Signed-off-by: YueHaibing <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 parent fdf0eaf commit 1faf7e4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

kernel/trace/tracing_map.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,6 @@ extern u64 tracing_map_read_sum(struct tracing_map_elt *elt, unsigned int i);
272272
extern u64 tracing_map_read_var(struct tracing_map_elt *elt, unsigned int i);
273273
extern u64 tracing_map_read_var_once(struct tracing_map_elt *elt, unsigned int i);
274274

275-
extern void tracing_map_set_field_descr(struct tracing_map *map,
276-
unsigned int i,
277-
unsigned int key_offset,
278-
tracing_map_cmp_fn_t cmp_fn);
279275
extern int
280276
tracing_map_sort_entries(struct tracing_map *map,
281277
struct tracing_map_sort_key *sort_keys,

0 commit comments

Comments
 (0)