summaryrefslogtreecommitdiffstats
path: root/fs/proc/self.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-02-07 00:36:48 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2018-02-07 03:32:43 +0100
commit48c232395431c23d35cf3b4c5a090bd793316578 (patch)
tree439635b969431aefbf322eecf5368c1a3a152af3 /fs/proc/self.c
parentkasan: clean up KASAN_SHADOW_SCALE_SHIFT usage (diff)
downloadlinux-48c232395431c23d35cf3b4c5a090bd793316578.tar.xz
linux-48c232395431c23d35cf3b4c5a090bd793316578.zip
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://lkml.kernel.org/r/20180206144950.32457-1-colin.king@canonical.com Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Alexander Potapenko <glider@google.com> Cc: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/self.c')
0 files changed, 0 insertions, 0 deletions