staging: cxt1e1: remove redundant memset() call
authorDaeseok Youn <daeseok.youn@gmail.com>
Fri, 14 Mar 2014 09:08:43 +0000 (18:08 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 21:22:47 +0000 (14:22 -0700)
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>
drivers/staging/cxt1e1/hwprobe.c

Simple merge