Skip to content
Commit 94c457de authored by Rickard Strandqvist's avatar Rickard Strandqvist Committed by Helge Deller
Browse files

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: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent fe5c8734
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment