diff --git a/drivers/spi/spi-dw.c b/drivers/spi/spi-dw.c index 9965e1b84832fcc69b642a991b043f03061b1e23..29f33143b795651e773ea7b9d5cc0f80c7cb2575 100644 --- a/drivers/spi/spi-dw.c +++ b/drivers/spi/spi-dw.c @@ -606,12 +606,6 @@ static int dw_spi_setup(struct spi_device *spi) return 0; } -static void dw_spi_cleanup(struct spi_device *spi) -{ - struct chip_data *chip = spi_get_ctldata(spi); - kfree(chip); -} - /* Restart the controller, disable all interrupts, clean rx fifo */ static void spi_hw_init(struct dw_spi *dws) {