Tracing fixes:

- Check for NULL in kretprobe_dispatcher()
  NULL can now be passed in, make sure it can handle it

- Clean up unneeded #endif #ifdef of the same preprocessor check in the
  middle of the block.

- Comment clean up

- Remove unneeded initialization of the "ret" variable in
  __trace_uprobe_create()
tracing/uprobes: Remove unwanted initialization in __trace_uprobe_create()

Remove the unwanted initialization of variable 'ret'. This fixes the clang
scan warning: Value stored to 'ret' is never read [deadcode.DeadStores]

Link: https://lkml.kernel.org/r/20220612144232.145209-1-gautammenghani201@gmail.com

Signed-off-by: Gautam Menghani <gautammenghani201@gmail.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 file changed