summaryrefslogtreecommitdiffstats
path: root/lib/decompress_inflate.c
diff options
context:
space:
mode:
authorRoman Smirnov <r.smirnov@omp.ru>2024-03-07 10:17:17 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-03-12 13:09:23 -0700
commitbea0a58695870295a315cec15a9fea6f40fe5ff3 (patch)
tree28df0d73195952dbcb3220f6dd19747c444fc557 /lib/decompress_inflate.c
parentc44f063e740ed580574b9012751e641e749bbe0e (diff)
downloadlinux-stable-bea0a58695870295a315cec15a9fea6f40fe5ff3.tar.gz
linux-stable-bea0a58695870295a315cec15a9fea6f40fe5ff3.tar.bz2
linux-stable-bea0a58695870295a315cec15a9fea6f40fe5ff3.zip
assoc_array: fix the return value in assoc_array_insert_mid_shortcut()
Returning the edit variable is redundant because it is dereferenced right before it is returned. It would be better to return true. Found by Linux Verification Center (linuxtesting.org) with Svace. Link: https://lkml.kernel.org/r/20240307071717.5318-1-r.smirnov@omp.ru Signed-off-by: Roman Smirnov <r.smirnov@omp.ru> Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/decompress_inflate.c')
0 files changed, 0 insertions, 0 deletions