Commit 0a48d2a2 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 546d4306
...@@ -442,8 +442,6 @@ static int DIVA_INIT_FUNCTION maint_init(void) ...@@ -442,8 +442,6 @@ static int DIVA_INIT_FUNCTION maint_init(void)
int ret = 0; int ret = 0;
void *buffer = 0; void *buffer = 0;
MOD_INC_USE_COUNT;
do_gettimeofday(&start_time); do_gettimeofday(&start_time);
init_waitqueue_head(&msgwaitq); init_waitqueue_head(&msgwaitq);
...@@ -479,7 +477,6 @@ static int DIVA_INIT_FUNCTION maint_init(void) ...@@ -479,7 +477,6 @@ static int DIVA_INIT_FUNCTION maint_init(void)
(diva_dbg_mem == 0) ? "internal" : "external"); (diva_dbg_mem == 0) ? "internal" : "external");
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