Stefan Schmidt says:
[sfrench/cifs-2.6.git] / drivers / net / ieee802154 / mcr20a.c
index 2b4ba3f9ecd79a222eaabb3e5965ba31449d47c6..2fe0e4a0a0c4c1cac4e424d0ac6307fa28215122 100644 (file)
@@ -1330,7 +1330,7 @@ free_dev:
        return ret;
 }
 
-static int mcr20a_remove(struct spi_device *spi)
+static void mcr20a_remove(struct spi_device *spi)
 {
        struct mcr20a_local *lp = spi_get_drvdata(spi);
 
@@ -1338,8 +1338,6 @@ static int mcr20a_remove(struct spi_device *spi)
 
        ieee802154_unregister_hw(lp->hw);
        ieee802154_free_hw(lp->hw);
-
-       return 0;
 }
 
 static const struct of_device_id mcr20a_of_match[] = {