summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2020-10-15 20:11:25 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-10-16 11:11:20 -0700
commit6ed9b92e290b530197c2dda2271f5312abc475e6 (patch)
tree32e14e0d8fc71b03a567c34c2249bb2380dfeb49 /include
parent3264ceec8f17a99a3895de7de06b4d7e9c8f3f30 (diff)
downloadlinux-6ed9b92e290b530197c2dda2271f5312abc475e6.tar.bz2
lib/scatterlist.c: avoid a double memset
'sgl' is zeroed a few lines below in 'sg_init_table()'. There is no need to clear it twice. Remove the redundant initialization. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Link: https://lkml.kernel.org/r/20200920071544.368841-1-christophe.jaillet@wanadoo.fr Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions