commit | 65bbdd49b4722a09901469e57497850311c017dc | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Fri Jun 14 10:43:11 2019 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jun 23 07:02:01 2019 +0200 |
tree | 36cfb4d672f4a69b925afc57203490d6a892e7c1 | |
parent | 4056e79faa2dc8352634b594991b4b210d724e6f [diff] |
lkdtm: remove redundant initialization of ret The variable ret is being initialized with the value -EINVAL however this value is never read and ret is being re-assigned later on. Hence the initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>