Commit 546d4306 authored by Bob Miller's avatar Bob Miller Committed by Kai Germaschewski

ISDN: [TRIVIAL] Remove un-needed MOD___USE_COUNT from capimain.c

Module init methods are called with a reference already taken by the
module code so the MOD_*_USE_COUNT can be deleted.
parent 628a27d2
...@@ -160,8 +160,6 @@ static int DIVA_INIT_FUNCTION divacapi_init(void) ...@@ -160,8 +160,6 @@ static int DIVA_INIT_FUNCTION divacapi_init(void)
char tmprev[32]; char tmprev[32];
int ret = 0; int ret = 0;
MOD_INC_USE_COUNT;
sprintf(DRIVERRELEASE, "%d.%d%s", DRRELMAJOR, DRRELMINOR, sprintf(DRIVERRELEASE, "%d.%d%s", DRRELMAJOR, DRRELMINOR,
DRRELEXTRA); DRRELEXTRA);
...@@ -177,7 +175,6 @@ static int DIVA_INIT_FUNCTION divacapi_init(void) ...@@ -177,7 +175,6 @@ static int DIVA_INIT_FUNCTION divacapi_init(void)
ret = -EIO; ret = -EIO;
} }
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