Thread (5 messages) flat view 5 messages, 3 authors, 2003-09-12

Re: [PATCH][ATM] a few patches from John Levon

From: John Levon <hidden>
Date: 2003-09-05 09:55:39

On Fri, Sep 05, 2003 at 02:35:36AM -0700, David S. Miller wrote:
All applied, although:
quoted
# [ATM]: fix atm_dev module refcount bug (from levon@movementarian.org)
You included this patch twice :-)
Hmm, then I think you're missing patch 5 :


diff -Naur -X dontdiff linux-cvs/net/atm/pppoatm.c linux-fixes/net/atm/pppoatm.c
--- linux-cvs/net/atm/pppoatm.c	2003-08-29 16:57:07.000000000 +0100
+++ linux-fixes/net/atm/pppoatm.c	2003-09-04 10:51:19.000000000 +0100
@@ -341,16 +341,13 @@
 	return -ENOIOCTLCMD;
 }
 
-/* the following avoids some spurious warnings from the compiler */
-#define UNUSED __attribute__((unused))
-
-static int __init UNUSED pppoatm_init(void)
+static int __init pppoatm_init(void)
 {
 	pppoatm_ioctl_set(pppoatm_ioctl);
 	return 0;
 }
 
-static void __exit UNUSED pppoatm_exit(void)
+static void __exit pppoatm_exit(void)
 {
 	pppoatm_ioctl_set(NULL);
 }
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help