lkml.org 
[lkml]   [2003]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[TRIVIAL][PATCH] Removed deprecated functions/macros from lanai.c
Date

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 */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.020 / U:0.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site