staging: lustre: Cleaning up unnecessary use of memset in conjunction with strncpy
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sun, 14 Sep 2014 16:03:16 +0000 (18:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 Sep 2014 17:05:11 +0000 (10:05 -0700)
commit3f2882d3696876c9458c794fa960f5c3133d70a5
tree62954097cb1ed9bc66c932f61abba4ca8feaa270
parenteb9671261d02fa322f0b77a30442198ff05e564c
staging: lustre: Cleaning up unnecessary use of memset in conjunction with strncpy

Using memset before strncpy just to ensure a trailing null
character is an unnecessary double writing of a string

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/debug.c