OSDN Git Service

spi: a3700: Remove a useless memset
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 2 Aug 2020 17:50:07 +0000 (19:50 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 18 Aug 2020 16:52:37 +0000 (17:52 +0100)
commit2494174e04e7f4e58d1363adb13c0ae23b64d37c
treee1a546af7dc72081bac0d34112e929ec82373f88
parentc3158a891bcc4c79523804e0d09a195fb1f815b4
spi: a3700: Remove a useless memset

Memory allocated by 'spi_alloc_master()' is already zeroed.
Remove a redundant memset.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20200802175007.703995-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-armada-3700.c