Commit e941810b authored by Bob Miller's avatar Bob Miller Committed by Kai Germaschewski

ISDN: [TRIVIAL] Remove un-needed MOD___USE_COUNT from divamnt's init fuction.

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.
parent 0a48d2a2
...@@ -192,8 +192,6 @@ static int DIVA_INIT_FUNCTION divasi_init(void) ...@@ -192,8 +192,6 @@ static int DIVA_INIT_FUNCTION divasi_init(void)
char tmprev[50]; char tmprev[50];
int ret = 0; int ret = 0;
MOD_INC_USE_COUNT;
printk(KERN_INFO "%s\n", DRIVERNAME); printk(KERN_INFO "%s\n", DRIVERNAME);
printk(KERN_INFO "%s: Rel:%s Rev:", DRIVERLNAME, DRIVERRELEASE); printk(KERN_INFO "%s: Rel:%s Rev:", DRIVERLNAME, DRIVERRELEASE);
strcpy(tmprev, main_revision); strcpy(tmprev, main_revision);
...@@ -223,7 +221,6 @@ static int DIVA_INIT_FUNCTION divasi_init(void) ...@@ -223,7 +221,6 @@ static int DIVA_INIT_FUNCTION divasi_init(void)
} }
out: out:
MOD_DEC_USE_COUNT;
return (ret); return (ret);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment