From e941810ba7d5c6657e513981647fc05f92dfaeac Mon Sep 17 00:00:00 2001 From: Bob Miller Date: Mon, 21 Jul 2003 07:08:46 -0400 Subject: [PATCH] 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. --- drivers/isdn/hardware/eicon/divasi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/isdn/hardware/eicon/divasi.c b/drivers/isdn/hardware/eicon/divasi.c index bce39cb91ce6c..cae5a2e2e2314 100644 --- a/drivers/isdn/hardware/eicon/divasi.c +++ b/drivers/isdn/hardware/eicon/divasi.c @@ -192,8 +192,6 @@ static int DIVA_INIT_FUNCTION divasi_init(void) char tmprev[50]; 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); @@ -223,7 +221,6 @@ static int DIVA_INIT_FUNCTION divasi_init(void) } out: - MOD_DEC_USE_COUNT; return (ret); } -- 2.53.0