Merge tag 'thermal-v5.11-2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / drivers / block / ps3disk.c
index 7b55811..ba3ece5 100644 (file)
@@ -507,7 +507,7 @@ fail:
        return error;
 }
 
-static int ps3disk_remove(struct ps3_system_bus_device *_dev)
+static void ps3disk_remove(struct ps3_system_bus_device *_dev)
 {
        struct ps3_storage_device *dev = to_ps3_storage_device(&_dev->core);
        struct ps3disk_private *priv = ps3_system_bus_get_drvdata(&dev->sbd);
@@ -526,7 +526,6 @@ static int ps3disk_remove(struct ps3_system_bus_device *_dev)
        kfree(dev->bounce_buf);
        kfree(priv);
        ps3_system_bus_set_drvdata(_dev, NULL);
-       return 0;
 }
 
 static struct ps3_system_bus_driver ps3disk = {