diff options
| author | Daeseok Youn <daeseok.youn@gmail.com> | 2014-03-14 18:08:43 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-17 14:22:47 -0700 |
| commit | 5ddd113297288d521faeb551ea575513dfb37828 (patch) | |
| tree | d25ff9db8647d9a2d7217819203736f71133c6d4 /tools/perf/scripts/python/sctop.py | |
| parent | 14eec444302c97a692a9cdc556f7590355610f92 (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/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
