* [TRIVIAL][PATCH] Removed deprecated functions/macros from lanai.c
@ 2003-09-22 11:40 Shine Mohamed
0 siblings, 0 replies; only message in thread
From: Shine Mohamed @ 2003-09-22 11:40 UTC (permalink / raw)
To: trivial, linux-kernel; +Cc: krishnakumar
Patch to remove deprecated inline function MOD_INC_USE_COUNT and
MOD_INC_DEC_COUNT.
diff -urN linux-2.6.0-test5.orig/drivers/atm/lanai.c
linux-2.6.0-test5/drivers/atm/lanai.c
--- linux-2.6.0-test5.orig/drivers/atm/lanai.c 2003-09-09 01:19:58.000000000
+0530
+++ linux-2.6.0-test5/drivers/atm/lanai.c 2003-09-22 10:13:56.000000000
+0530
@@ -2242,7 +2242,6 @@
printk(KERN_ERR DEV_LABEL ": can't allocate interrupt\n");
goto error_vcctable;
}
- MOD_INC_USE_COUNT; /* At this point we can't fail */
mb(); /* Make sure that all that made it */
intr_enable(lanai, INT_ALL & ~(INT_PING | INT_WAKE));
/* 3.11: initialize loop mode (i.e. turn looping off) */
@@ -2312,7 +2311,6 @@
service_buffer_deallocate(lanai);
iounmap((void *) lanai->base);
kfree(lanai);
- MOD_DEC_USE_COUNT;
}
/* close a vcc */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-09-22 11:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-22 11:40 [TRIVIAL][PATCH] Removed deprecated functions/macros from lanai.c Shine Mohamed
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®