Skip to content
Commit 6ed9b92e authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Linus Torvalds
Browse files

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: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Link: https://lkml.kernel.org/r/20200920071544.368841-1-christophe.jaillet@wanadoo.fr


Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3264ceec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment