mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 11:33:36 -04:00
[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
@@ -16,6 +16,7 @@
|
||||
#include <linux/config.h>
|
||||
#include <linux/ctype.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/module.h>
|
||||
|
||||
#include <asm/debug.h>
|
||||
#include <asm/uaccess.h>
|
||||
@@ -69,6 +70,8 @@ int dasd_autodetect = 0; /* is true, when autodetection is active */
|
||||
* strings when running as a module.
|
||||
*/
|
||||
static char *dasd[256];
|
||||
module_param_array(dasd, charp, NULL, 0);
|
||||
|
||||
/*
|
||||
* Single spinlock to protect devmap structures and lists.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user