Commit 609db23a authored by John Levon's avatar John Levon Committed by David S. Miller

[ATM]: Remove bogus UNUSED macro usage in pppoatm.c

parent f72c208b
...@@ -341,16 +341,13 @@ static int pppoatm_ioctl(struct atm_vcc *atmvcc, unsigned int cmd, ...@@ -341,16 +341,13 @@ static int pppoatm_ioctl(struct atm_vcc *atmvcc, unsigned int cmd,
return -ENOIOCTLCMD; return -ENOIOCTLCMD;
} }
/* the following avoids some spurious warnings from the compiler */ static int __init pppoatm_init(void)
#define UNUSED __attribute__((unused))
static int __init UNUSED pppoatm_init(void)
{ {
pppoatm_ioctl_set(pppoatm_ioctl); pppoatm_ioctl_set(pppoatm_ioctl);
return 0; return 0;
} }
static void __exit UNUSED pppoatm_exit(void) static void __exit pppoatm_exit(void)
{ {
pppoatm_ioctl_set(NULL); pppoatm_ioctl_set(NULL);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment