summaryrefslogtreecommitdiff
path: root/lib/raid/raid6/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorWayen.Yan <win847@gmail.com>2026-06-11 11:52:57 +0800
committerSteven Rostedt <rostedt@goodmis.org>2026-07-06 15:00:01 -0400
commita20b08de862c2983eac183b7560ad678acb58608 (patch)
tree8af5e0c4566e472a67e3126a0fb6fead9dcfefd9 /lib/raid/raid6/git@git.tavy.me:linux-stable.git
parentfe58f457ad8d0a2bef4e053cfecca4b5cd266b1a (diff)
tracing: Remove unused ret assignment in tracing_set_tracer()
In tracing_set_tracer(), the assignment 'ret = 0' following the __tracing_resize_ring_buffer() error check is a dead store. After this point, all subsequent code paths either return with a constant value (-EINVAL, 0, -EBUSY) or reassign ret before reading it (tracing_arm_snapshot_locked, tracer_init). Remove the unnecessary assignment. No functional change. Link: https://patch.msgid.link/6a2a37c4.f0a9eb5a.2fc603.7724@mx.google.com Signed-off-by: Wayen.Yan <win847@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'lib/raid/raid6/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions