commit | b6528f940d7151d9d585959103ec6b01d8007f4d | [log] [tgz] |
---|---|---|
author | Vincent Palatin <vpalatin@chromium.org> | Wed Dec 05 14:46:32 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Tue Dec 11 13:17:33 2012 -0700 |
tree | a07380437093a2df9a4ba9e83785cb3394576842 | |
parent | 8ee5d6c2619e2f257f0130875f1850037230ef04 [diff] |
stdio: remove useless strncpy The name is already copied when we memcpy() the whole structure. This is because struct stdio_dev has this field: char name[16]; /* Device name */ So the data is inline, rather than being a pointer. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>