aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2022-01-20 02:10:38 +0000
committerLinus Torvalds <[email protected]>2022-01-20 06:52:55 +0000
commitb1e78ef3be2533973953a35a56739fda7325875c (patch)
tree13d2a89405c76fb3f0eb3d363a8f9f84e2193a7f /fs/proc/array.c
parentubsan: remove CONFIG_UBSAN_OBJECT_SIZE (diff)
downloadkernel-b1e78ef3be2533973953a35a56739fda7325875c.tar.gz
kernel-b1e78ef3be2533973953a35a56739fda7325875c.zip
lib: remove redundant assignment to variable ret
The variable ret is being assigned a value that is never read. If the for-loop is entered then ret is immediately re-assigned a new value. If the for-loop is not executed ret is never read. The assignment is redundant and can be removed. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions