Commit 48c23239 authored by Committed by Linus Torvalds
kasan: remove redundant initialization of variable 'real_size'
Variable real_size is initialized with a value that is never read, it is re-assigned a new value later on, hence the initialization is redundant and can be removed. Cleans up clang warning: lib/test_kasan.c:422:21: warning: Value stored to 'real_size' during its initialization is never read Link: http://firstname.lastname@example.orgSigned-off-by: Colin Ian King <email@example.com> Acked-by: Andrey Ryabinin <firstname.lastname@example.org> Reviewed-by: Andrew Morton <email@example.com> Cc: Alexander Potapenko <firstname.lastname@example.org> Cc: Dmitry Vyukov <email@example.com> Signed-off-by: Andrew Morton <firstname.lastname@example.org> Signed-off-by: Linus Torvalds <email@example.com>
Showing with 1 addition and 1 deletion