diff options
author | 2017-03-29 21:40:49 -0400 | |
---|---|---|
committer | 2017-03-31 18:00:37 -0400 | |
commit | 2d71d98900b8a4bd58c3ca92e404d5e3701de874 (patch) | |
tree | 0cc6b7911663623916107f64601bacfbcc8aeaac /kernel/trace/trace_stack.c | |
parent | ftrace: Assign iter->hash to filter or notrace hashes on seq read (diff) | |
download | wireguard-linux-2d71d98900b8a4bd58c3ca92e404d5e3701de874.tar.xz wireguard-linux-2d71d98900b8a4bd58c3ca92e404d5e3701de874.zip |
ftrace: Return NULL at end of t_start() instead of calling t_hash_start()
The loop in t_start() of calling t_next() will call t_hash_start() if the
pos is beyond the functions and enters the hash items. There's no reason to
check if p is NULL and call t_hash_start(), as that would be redundant.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_stack.c')
0 files changed, 0 insertions, 0 deletions