]> Gentwo Git Trees - linux/.git/commit
tracing: fprobe: Remove unused local variable
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Thu, 25 Sep 2025 00:56:49 +0000 (09:56 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Fri, 31 Oct 2025 16:10:29 +0000 (01:10 +0900)
commit90e69d291d195d35215b578d210fd3ce0e5a3f42
tree89761e232728e9696d766dc66b8992a5ee8cda0c
parentcbe1e1241a4d5d7cfc8dbef0fc47ca2d21c28cb2
tracing: fprobe: Remove unused local variable

The 'ret' local variable in fprobe_remove_node_in_module() was used
for checking the error state in the loop, but commit dfe0d675df82
("tracing: fprobe: use rhltable for fprobe_ip_table") removed the loop.
So we don't need it anymore.

Link: https://lore.kernel.org/all/175867358989.600222.6175459620045800878.stgit@devnote2/
Fixes: e5a4cc28a052 ("tracing: fprobe: use rhltable for fprobe_ip_table")
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Acked-by: Menglong Dong <menglong8.dong@gmail.com>
kernel/trace/fprobe.c