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

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

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 e941810b
......@@ -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);
}
......
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