[PATCH] Delete useless reference to dead MODULE_PARM macro.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linux Kernel Mailing List <linux-kernel@...>
Cc: Andrew Morton <akpm@...>, <dmitry.torokhov@...>, <dtor@...>
Date: Sunday, May 27, 2007 - 3:00 pm

Remove a clearly useless reference to the obsolete MODULE_PARM macro.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>

---

  given that that macro call is enclosed within an obsolete
"__MODULE__" check, i have to assume that snippet of code can be
safely removed.

diff --git a/drivers/input/mouse/atarimouse.c b/drivers/input/mouse/atarimouse.c
index 43ab656..f779cb6 100644
--- a/drivers/input/mouse/atarimouse.c
+++ b/drivers/input/mouse/atarimouse.c
@@ -59,9 +59,6 @@ MODULE_LICENSE("GPL");

 static int mouse_threshold[2] = {2,2};

-#ifdef __MODULE__
-MODULE_PARM(mouse_threshold, "2i");
-#endif
 #ifdef FIXED_ATARI_JOYSTICK
 extern int atari_mouse_buttons;
 #endif


-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Delete useless reference to dead MODULE_PARM macro., Robert P. J. Day, (Sun May 27, 3:00 pm)