]> git.hungrycats.org Git - linux/commitdiff
ISDN: [TRIVIAL] Remove un-needed MOD___USE_COUNT from divamnt's init fuction.
authorBob Miller <rem@osdl.org>
Mon, 21 Jul 2003 11:08:46 +0000 (07:08 -0400)
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Mon, 21 Jul 2003 11:08:46 +0000 (07:08 -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/divasi.c

index bce39cb91ce6c85206dbe2726d98d65e93313bfd..cae5a2e2e23140a6aa1f7296282c9b174a881147 100644 (file)
@@ -192,8 +192,6 @@ static int DIVA_INIT_FUNCTION divasi_init(void)
        char tmprev[50];
        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);
@@ -223,7 +221,6 @@ static int DIVA_INIT_FUNCTION divasi_init(void)
        }
 
       out:
-       MOD_DEC_USE_COUNT;
        return (ret);
 }