Commit de6c063f authored by Qinglang Miao's avatar Qinglang Miao Committed by Martin K. Petersen
Browse files

scsi: fcoe: Simplify the return expression of fcoe_sysfs_setup()

parent 6afc12fa
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -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)