Commit 628a27d2 authored by Bob Miller's avatar Bob Miller Committed by Kai Germaschewski

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

Module init methods are called with a reference already taken by the
module code so the MOD_*_USE_COUNT can be deleted.
parent 092ae09c
......@@ -1354,8 +1354,6 @@ i4l_idi_init(void)
status_lock = SPIN_LOCK_UNLOCKED;
ll_lock = SPIN_LOCK_UNLOCKED;
MOD_INC_USE_COUNT;
if (strlen(id) < 1)
strcpy(id, "diva");
......@@ -1382,7 +1380,6 @@ i4l_idi_init(void)
create_proc();
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