Searched hist:"6 ed9b92e" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/lib/ |
H A D | scatterlist.c | 6ed9b92e Thu Oct 15 22:11:25 CDT 2020 Christophe JAILLET <christophe.jaillet@wanadoo.fr> 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> 6ed9b92e Thu Oct 15 22:11:25 CDT 2020 Christophe JAILLET <christophe.jaillet@wanadoo.fr> 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>
|