git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0a0fb1
)
staging: cxt1e1: remove redundant memset() call
author
Daeseok Youn
<daeseok.youn@gmail.com>
Sun, 9 Mar 2014 23:56:55 +0000
(08:56 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 21:22:47 +0000
(14:22 -0700)
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.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/cxt1e1/linux.c
patch
|
blob
|
history
diff --cc
drivers/staging/cxt1e1/linux.c
Simple merge