diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2021-12-30 13:45:57 +0000 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2022-01-09 00:18:54 +0200 |
commit | d99a8af48a3de727173415ccb17f6b6ba60d5573 (patch) | |
tree | 354f67337af19f230f66c2526ff957e2d449efc6 /security | |
parent | 84cc69589700b90a4c8d27b481a51fce8cca6051 (diff) | |
download | linux-d99a8af48a3de727173415ccb17f6b6ba60d5573.tar.bz2 |
lib: remove redundant assignment to variable ret
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.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions