[<prev] [next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.1.00.0804201013400.31368@localhost.localdomain>
Date: Sun, 20 Apr 2008 10:16:39 -0400 (EDT)
From: "Robert P. J. Day" <rpjday@...shcourse.ca>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
cc: Andrew Morton <akpm@...l.org>
Subject: [PATCH] Remove unused macro __setup_null_param() from init.h.
Given that there are no invocations of this macro anywhere in the
source tree, it would seem safe to delete it.
Signed-off-by: Robert P. J. Day <rpjday@...shcourse.ca>
---
*is* there any remaining value to this macro?
diff --git a/include/linux/init.h b/include/linux/init.h
index fb58c04..4a6c55f 100644
--- a/include/linux/init.h
+++ b/include/linux/init.h
@@ -223,9 +223,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)
@@ -292,7 +289,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
========================================================================
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists