Merge tag 'io_uring-5.10-2020-10-24' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / drivers / scsi / fcoe / fcoe_sysfs.c
index 2cb7a8c..ffef2c8 100644 (file)
@@ -1053,16 +1053,10 @@ EXPORT_SYMBOL_GPL(fcoe_fcf_device_add);
 
 int __init fcoe_sysfs_setup(void)
 {
-       int error;
-
        atomic_set(&ctlr_num, 0);
        atomic_set(&fcf_num, 0);
 
-       error = bus_register(&fcoe_bus_type);
-       if (error)
-               return error;
-
-       return 0;
+       return bus_register(&fcoe_bus_type);
 }
 
 void __exit fcoe_sysfs_teardown(void)