Re: [PATCH 1/2] spi/s3c24xx: remove unnecessary memset of s3c24xx_spi

2015-06-30 Thread Daniel Kurtz
On Wed, Jul 1, 2015 at 2:03 AM, Alexey Klimov wrote: > Memory for this struct is allocated by spi_alloc_master() using > kzalloc() so it doesn't need to be set to 0 one more time. > > Signed-off-by: Alexey Klimov Yup, I just noticed this too when reviewing the mediatek SPI driver. For both patc

[PATCH 1/2] spi/s3c24xx: remove unnecessary memset of s3c24xx_spi

2015-06-30 Thread Alexey Klimov
Memory for this struct is allocated by spi_alloc_master() using kzalloc() so it doesn't need to be set to 0 one more time. Signed-off-by: Alexey Klimov --- drivers/spi/spi-s3c24xx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/spi-s3c24xx.c b/drivers/spi/spi-s3c24xx.c index f74