diff options
author | Chen Zhongjin <[email protected]> | 2022-09-24 15:26:29 +0800 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2022-09-27 14:48:26 -0400 |
commit | ae398ad89456847aab9f12b0e63c51443af5da48 (patch) | |
tree | 02d86c0c4d9ff63cbb18fd4486e57c8370816a62 /drivers/usb/cdns3/cdns3-trace.c | |
parent | 3008119a3dd8052b7e5c07488e20a7abb0d287f2 (diff) |
x86: kprobes: Remove unused macro stack_addr
An unused macro reported by [-Wunused-macros].
This macro is used to access the sp in pt_regs because at that time
x86_32 can only get sp by kernel_stack_pointer(regs).
'3c88c692c287 ("x86/stackframe/32: Provide consistent pt_regs")'
This commit have unified the pt_regs and from them we can get sp from
pt_regs with regs->sp easily. Nowhere is using this macro anymore.
Refrencing pt_regs directly is more clear. Remove this macro for
code cleaning.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Chen Zhongjin <[email protected]>
Acked-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions