mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
kallsyms: Delete an unused parameter related to {module_}kallsyms_on_each_symbol()
The parameter 'struct module *' in the hook function associated with {module_}kallsyms_on_each_symbol() is no longer used. Delete it. Suggested-by: Petr Mladek <pmladek@suse.com> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
This commit is contained in:
committed by
Luis Chamberlain
parent
7ce9372909
commit
3703bd54cd
@@ -95,7 +95,7 @@ static struct test_item test_items[] = {
|
||||
|
||||
static char stub_name[KSYM_NAME_LEN];
|
||||
|
||||
static int stat_symbol_len(void *data, const char *name, struct module *mod, unsigned long addr)
|
||||
static int stat_symbol_len(void *data, const char *name, unsigned long addr)
|
||||
{
|
||||
*(u32 *)data += strlen(name);
|
||||
|
||||
@@ -154,7 +154,7 @@ static void test_kallsyms_compression_ratio(void)
|
||||
pr_info(" ---------------------------------------------------------\n");
|
||||
}
|
||||
|
||||
static int lookup_name(void *data, const char *name, struct module *mod, unsigned long addr)
|
||||
static int lookup_name(void *data, const char *name, unsigned long addr)
|
||||
{
|
||||
u64 t0, t1, t;
|
||||
struct test_stat *stat = (struct test_stat *)data;
|
||||
@@ -207,7 +207,7 @@ static bool match_cleanup_name(const char *s, const char *name)
|
||||
return !strncmp(s, name, len);
|
||||
}
|
||||
|
||||
static int find_symbol(void *data, const char *name, struct module *mod, unsigned long addr)
|
||||
static int find_symbol(void *data, const char *name, unsigned long addr)
|
||||
{
|
||||
struct test_stat *stat = (struct test_stat *)data;
|
||||
|
||||
|
Reference in New Issue
Block a user