* [PATCH 2.5.73 TRIVIAL] Remove un-needed MOD_*_USE_COUNT from i4lididrv.c
@ 2003-06-26 20:26 Bob Miller
0 siblings, 0 replies; only message in thread
From: Bob Miller @ 2003-06-26 20:26 UTC (permalink / raw)
To: trivial; +Cc: linux-kernel
Module init methods are called with a reference already taken by the
module code so the MOD_*_USE_COUNT can be deleted.
--
Bob Miller Email: rem@osdl.org
Open Source Development Lab Phone: 503.626.2455 Ext. 17
diff -Nru a/drivers/isdn/hardware/eicon/i4lididrv.c b/drivers/isdn/hardware/eicon/i4lididrv.c
--- a/drivers/isdn/hardware/eicon/i4lididrv.c Wed Jun 25 16:18:28 2003
+++ b/drivers/isdn/hardware/eicon/i4lididrv.c Wed Jun 25 16:18:28 2003
@@ -1354,8 +1354,6 @@
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 @@
create_proc();
out:
- MOD_DEC_USE_COUNT;
return(ret);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-06-26 20:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-26 20:26 [PATCH 2.5.73 TRIVIAL] Remove un-needed MOD_*_USE_COUNT from i4lididrv.c Bob Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®