summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fcoe/fcoe_ctlr.c
diff options
context:
space:
mode:
authorYi Zou <yi.zou@intel.com>2011-04-01 16:06:04 -0700
committerJames Bottomley <James.Bottomley@suse.de>2011-05-01 10:19:05 -0500
commit38b34aca30ef1296bbc552505d80c69f274f0872 (patch)
tree72f947566e791871997a5448a19f6dc05d1623ed /drivers/scsi/fcoe/fcoe_ctlr.c
parentee5df628c1d7f3ff4db3174f7c00873c94f616d9 (diff)
[SCSI] fcoe: remove unnecessary module state check
The check of module state being MODULE_STATE_LIVE is no longer needed for the individual fcoe transport driver, e.g., fcoe.ko, as sysfs entries now go to libfcoe now, if it reaches fcoe.ko, it has to be already registered. The module state check for libfcoe will guard the possible race condition of sysfs being writable before module_init function is called and after module_exit. Signed-off-by: Yi Zou <yi.zou@intel.com> Tested-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/fcoe/fcoe_ctlr.c')
0 files changed, 0 insertions, 0 deletions