staging: wilc1000: remove unnecessary memset in sdio_init() & wilc_spi_init()
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 25 Sep 2018 06:23:38 +0000 (11:53 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Sep 2018 18:53:57 +0000 (20:53 +0200)
commita944140250ce2f200d2b54fa7ec03aad4a5d6901
tree9d8250c5e8fc1df9f254152e773ee6d6319035a2
parent110f4b755e5df82fa4fe54612552dddfe9d58ad5
staging: wilc1000: remove unnecessary memset in sdio_init() & wilc_spi_init()

Cleanup changes to avoid unnecessary setting 'wilc->bus_data' value to
zero as the buffer was allocated using kzalloc().

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_sdio.c
drivers/staging/wilc1000/wilc_spi.c