From: Rickard Strandqvist Date: Sun, 14 Sep 2014 16:02:12 +0000 (+0200) Subject: parisc: pdc_stable.c: Cleaning up unnecessary use of memset in conjunction with strncpy X-Git-Tag: fixes-for-v3.18-merge-window~81^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94c457deff2a211f8372f69a4d7b0d288183756a;p=pandora-kernel.git parisc: pdc_stable.c: 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 Patch modified by Helge Deller to additionally reduce stack usage. Signed-off-by: Rickard Strandqvist Signed-off-by: Helge Deller --- Reading git-diff-tree failed