diff options
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2014-09-14 18:02:12 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2014-09-21 21:07:48 +0200 |
commit | 94c457deff2a211f8372f69a4d7b0d288183756a (patch) | |
tree | 3c697069758c133e549a76f899ebfc6fd89cb5e2 /block | |
parent | fe5c873459a973e59854bd235a7e6b3eaa8e5fe0 (diff) |
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 <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions