mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
kallsyms: remove deprecated print_fn_descriptor_symbol()
According to feature-removal-schedule.txt, it is the time to remove print_fn_descriptor_symbol(). And a quick grep shows that it no longer has any callers. Signed-off-by: WANG Cong <[email protected]> Cc: Bjorn Helgaas <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
29671f22a8
commit
948c1e2521
2 changed files with 0 additions and 21 deletions
|
|
@ -107,18 +107,6 @@ static inline void print_symbol(const char *fmt, unsigned long addr)
|
|||
__builtin_extract_return_addr((void *)addr));
|
||||
}
|
||||
|
||||
/*
|
||||
* Pretty-print a function pointer. This function is deprecated.
|
||||
* Please use the "%pF" vsprintf format instead.
|
||||
*/
|
||||
static inline void __deprecated print_fn_descriptor_symbol(const char *fmt, void *addr)
|
||||
{
|
||||
#if defined(CONFIG_IA64) || defined(CONFIG_PPC64)
|
||||
addr = *(void **)addr;
|
||||
#endif
|
||||
print_symbol(fmt, (unsigned long)addr);
|
||||
}
|
||||
|
||||
static inline void print_ip_sym(unsigned long ip)
|
||||
{
|
||||
printk("[<%p>] %pS\n", (void *) ip, (void *) ip);
|
||||
|
|
|
|||
Loading…
Reference in a new issue