[PATCH] Remove MODULE_PARM
MODULE_PARM was actually breaking: recent gcc version optimize them out as unused. It's time to replace the last users, which are generally in the most unloved drivers anyway. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
c721bccece
commit
8d3b33f67f
@@ -1128,10 +1128,7 @@
|
||||
#endif
|
||||
|
||||
/* max number of simultaneous board */
|
||||
/* warning : make sure module array def's are coherent with PM3_MAX_BOARD */
|
||||
#define PM3_MAX_BOARD 4
|
||||
#define PM3_MAX_BOARD_MODULE_ARRAY_SHORT "1-4h"
|
||||
#define PM3_MAX_BOARD_MODULE_ARRAY_STRING "1-4s"
|
||||
|
||||
/* max size of options */
|
||||
#define PM3_OPTIONS_SIZE 256
|
||||
|
||||
Reference in New Issue
Block a user