diff options
| author | 2014-03-14 18:08:43 +0900 | |
|---|---|---|
| committer | 2014-03-17 14:22:47 -0700 | |
| commit | 5ddd113297288d521faeb551ea575513dfb37828 (patch) | |
| tree | d25ff9db8647d9a2d7217819203736f71133c6d4 /tools/lib/python | |
| parent | staging: cxt1e1: remove redundant memset() call (diff) | |
staging: cxt1e1: remove redundant memset() call
The banner array doens't need to set to 0.
sprintf() adds a terminating '\0'.
And the sn array can be declared and initialized to zero.
So remove redundant memset() with zero.
Remove unnecessary cast for memcpy().
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
