mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
tracing: Turn seq_print_user_ip() into a static function
seq_print_user_ip() is used in only one location in one file. Turn it into a static function. We could inject its code into the caller, but that would make the code a bit too complex. Keep the code separate. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
parent
6b1032d53c
commit
ef92480a58
2 changed files with 2 additions and 4 deletions
|
@ -322,8 +322,8 @@ seq_print_sym_offset(struct trace_seq *s, const char *fmt,
|
|||
# define IP_FMT "%016lx"
|
||||
#endif
|
||||
|
||||
int seq_print_user_ip(struct trace_seq *s, struct mm_struct *mm,
|
||||
unsigned long ip, unsigned long sym_flags)
|
||||
static int seq_print_user_ip(struct trace_seq *s, struct mm_struct *mm,
|
||||
unsigned long ip, unsigned long sym_flags)
|
||||
{
|
||||
struct file *file = NULL;
|
||||
unsigned long vmstart = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue