serial:ifx6x60: Remove memset for SPI frame
authorchanning <chao.bi@intel.com>
Tue, 22 Jan 2013 08:08:46 +0000 (16:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2013 17:25:33 +0000 (09:25 -0800)
commitaea95548c0dedea31a9dbb78eae762b220553921
tree53de0c80c814c4501fd26b89e789a3ffd37eff04
parent666b7793d4bfa9f150b5c2007ab48c755ddc53ca
serial:ifx6x60: Remove memset for SPI frame

There is no need to memset 0 to SPI frame memory before preparing
transfer frame bits, because SPI frame header are encoded with valid
data size, so don't need to worry about adopting dirty bits, more,
memset zero for each SPI frame may impact the spi throughput efficiency.

Signed-off-by: Chen Jun <jun.d.chen@intel.com>
Signed-off-by: channing <chao.bi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/ifx6x60.c