linux/drivers/misc/lkdtm
Colin Ian King 65bbdd49b4 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>
2019-06-23 07:02:01 +02:00
..
bugs.c
core.c lkdtm: remove redundant initialization of ret 2019-06-23 07:02:01 +02:00
heap.c
lkdtm.h lkdtm: Add tests for NULL pointer dereference 2019-01-09 12:00:31 -08:00
Makefile lkdtm: Add a test for STACKLEAK 2018-09-04 10:35:47 -07:00
perms.c lkdtm: Add tests for NULL pointer dereference 2019-01-09 12:00:31 -08:00
refcount.c
rodata.c
stackleak.c lkdtm: Add a test for STACKLEAK 2018-09-04 10:35:47 -07:00
usercopy.c Char/Misc driver patches for 4.20-rc1 2018-10-26 09:11:43 -07:00