diff options
Diffstat (limited to 'drivers/net/irda/vlsi_ir.c')
-rw-r--r-- | drivers/net/irda/vlsi_ir.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/irda/vlsi_ir.c b/drivers/net/irda/vlsi_ir.c index 1243bc8e0035..ac0e4b6b6b66 100644 --- a/drivers/net/irda/vlsi_ir.c +++ b/drivers/net/irda/vlsi_ir.c | |||
@@ -1871,13 +1871,6 @@ static int __init vlsi_mod_init(void) | |||
1871 | * without procfs - it's not required for the driver to work. | 1871 | * without procfs - it's not required for the driver to work. |
1872 | */ | 1872 | */ |
1873 | vlsi_proc_root = proc_mkdir(PROC_DIR, NULL); | 1873 | vlsi_proc_root = proc_mkdir(PROC_DIR, NULL); |
1874 | if (vlsi_proc_root) { | ||
1875 | /* protect registered procdir against module removal. | ||
1876 | * Because we are in the module init path there's no race | ||
1877 | * window after create_proc_entry (and no barrier needed). | ||
1878 | */ | ||
1879 | vlsi_proc_root->owner = THIS_MODULE; | ||
1880 | } | ||
1881 | 1874 | ||
1882 | ret = pci_register_driver(&vlsi_irda_driver); | 1875 | ret = pci_register_driver(&vlsi_irda_driver); |
1883 | 1876 | ||