]> git.hungrycats.org Git - linux/commitdiff
ISDN: [TRIVIAL] Remove un-needed MOD___USE_COUNT from divamnt's init function.
authorBob Miller <rem@osdl.org>
Mon, 21 Jul 2003 11:10:54 +0000 (07:10 -0400)
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Mon, 21 Jul 2003 11:10:54 +0000 (07:10 -0400)
The module load code adds a reference to the owner field before calling
the modules init function so it isn't necessary for the init function
to do a similar action.

drivers/isdn/hardware/eicon/diva_didd.c

index fcbb2e881bef3143d3172149215e20625fa51227..16e629d69e80d12f60296b31a43a387662d27d49 100644 (file)
@@ -135,8 +135,6 @@ static int DIVA_INIT_FUNCTION divadidd_init(void)
        char tmprev[32];
        int ret = 0;
 
-       MOD_INC_USE_COUNT;
-
        printk(KERN_INFO "%s\n", DRIVERNAME);
        printk(KERN_INFO "%s: Rel:%s  Rev:", DRIVERLNAME, DRIVERRELEASE);
        strcpy(tmprev, main_revision);
@@ -159,7 +157,6 @@ static int DIVA_INIT_FUNCTION divadidd_init(void)
        }
 
       out:
-       MOD_DEC_USE_COUNT;
        return (ret);
 }