Skip to contentSkip to conversation

Remove long-dead __setup_null_param() from init.h.

PATCH New Robert P. J. Day 1 participant 1 message Aug 7, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove long-dead __setup_null_param() from init.h.

This macro appears to have been unused for ages, and there are no invocations of it anywhere in the source tree.

---

include/linux/init.h +0 -4
index 11b84e1..40e5a0d 100644
@@ -232,9 +232,6 @@ struct obs_kernel_param {
 		__attribute__((aligned((sizeof(long)))))	\
 		= { __setup_str_##unique_id, fn, early }
 
-#define __setup_null_param(str, unique_id)			\
-	__setup_param(str, unique_id, NULL, 0)
-
 #define __setup(str, fn)					\
 	__setup_param(str, fn, fn, 0)
 
@@ -295,7 +292,6 @@ void __init parse_early_param(void);
 	void cleanup_module(void) __attribute__((alias(#exitfn)));
 
 #define __setup_param(str, unique_id, fn)	/* nothing */
-#define __setup_null_param(str, unique_id) 	/* nothing */
 #define __setup(str, func) 			/* nothing */
 #endif
 

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.

http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================