]> git.hungrycats.org Git - linux/commitdiff
[ATM]: Remove bogus UNUSED macro usage in pppoatm.c
authorJohn Levon <moz@compsoc.man.ac.uk>
Thu, 4 Sep 2003 20:02:57 +0000 (13:02 -0700)
committerDavid S. Miller <davem@nuts.ninka.net>
Thu, 4 Sep 2003 20:02:57 +0000 (13:02 -0700)
net/atm/pppoatm.c

index cca22da87ae6dfbaff28ba08eed30a1f31cfe9df..4a8f73b41edf2aa2b23d0597002004cad5c98b3f 100644 (file)
@@ -341,16 +341,13 @@ static int pppoatm_ioctl(struct atm_vcc *atmvcc, unsigned int cmd,
        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);
 }