]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - drivers/dax/bus.c
netfilter: nf_tables: disallow non-stateful expression in sets earlier
[mirror_ubuntu-jammy-kernel.git] / drivers / dax / bus.c
index 5aee26e1bbd6dba393d8d33fe56c52cf9014fcfb..6cc4da4c713d903fde149e40ca03b44ae5988e86 100644 (file)
@@ -172,15 +172,13 @@ static int dax_bus_probe(struct device *dev)
        return 0;
 }
 
-static int dax_bus_remove(struct device *dev)
+static void dax_bus_remove(struct device *dev)
 {
        struct dax_device_driver *dax_drv = to_dax_drv(dev->driver);
        struct dev_dax *dev_dax = to_dev_dax(dev);
 
        if (dax_drv->remove)
                dax_drv->remove(dev_dax);
-
-       return 0;
 }
 
 static struct bus_type dax_bus_type = {