[PATCH 2/2] staging: cxt1e1: remove redundant memset() call

2014-03-09 Thread Daeseok Youn
The name array doens't need to set to 0. Because sprintf/snprintf adds a terminating '\0'. And also it doesn't need to assign name array address to np pointer. Signed-off-by: Daeseok Youn --- drivers/staging/cxt1e1/linux.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-)

[PATCH 2/2] staging: cxt1e1: remove redundant memset() call

2014-03-09 Thread Daeseok Youn
The name array doens't need to set to 0. Because sprintf/snprintf adds a terminating '\0'. And also it doesn't need to assign name array address to np pointer. Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- drivers/staging/cxt1e1/linux.c |8 +++- 1 files changed, 3