bus: Make remove callback return void
[linux-2.6-microblaze.git] / drivers / s390 / cio / css.c
index 092fd1e..ebc321e 100644 (file)
@@ -1371,7 +1371,7 @@ static int css_probe(struct device *dev)
        return ret;
 }
 
-static int css_remove(struct device *dev)
+static void css_remove(struct device *dev)
 {
        struct subchannel *sch;
 
@@ -1379,8 +1379,6 @@ static int css_remove(struct device *dev)
        if (sch->driver->remove)
                sch->driver->remove(sch);
        sch->driver = NULL;
-
-       return 0;
 }
 
 static void css_shutdown(struct device *dev)