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>
        int loop, ret;
        u32 chipid;
 
-       if (!resume) {
-               memset(sdio_priv, 0, sizeof(struct wilc_sdio));
+       if (!resume)
                sdio_priv->irq_gpio = wilc->dev_irq_num;
-       }
 
        /**
         *      function 0 csa enable
 
                return 1;
        }
 
-       memset(spi_priv, 0, sizeof(struct wilc_spi));
-
        /*
         * configure protocol
         */
-       spi_priv->crc_off = 0;
 
        /*
         * TODO: We can remove the CRC trials if there is a definite