diff options
author | Florin Malita <fmalita@gmail.com> | 2005-10-28 18:14:46 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-28 19:06:43 -0400 |
commit | a1bfcd97414d3e9b3c96f27d9b1a1e76c9543ba6 (patch) | |
tree | 139ee353f51a2c0700e515f0bd02d8eb000a7745 /drivers | |
parent | b6a1d5f88473138497d8694ddf174e8e91300068 (diff) |
[PATCH] eepro.c: module_param_array cleanup
num_params is unused (and unusable in this form).
Signed-off-by: Florin Malita <fmalita@gmail.com>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/eepro.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/eepro.c b/drivers/net/eepro.c index dcb3028bb60f..1ce2c675b8a7 100644 --- a/drivers/net/eepro.c +++ b/drivers/net/eepro.c | |||
@@ -1797,10 +1797,9 @@ MODULE_AUTHOR("Pascal Dupuis and others"); | |||
1797 | MODULE_DESCRIPTION("Intel i82595 ISA EtherExpressPro10/10+ driver"); | 1797 | MODULE_DESCRIPTION("Intel i82595 ISA EtherExpressPro10/10+ driver"); |
1798 | MODULE_LICENSE("GPL"); | 1798 | MODULE_LICENSE("GPL"); |
1799 | 1799 | ||
1800 | static int num_params; | 1800 | module_param_array(io, int, NULL, 0); |
1801 | module_param_array(io, int, &num_params, 0); | 1801 | module_param_array(irq, int, NULL, 0); |
1802 | module_param_array(irq, int, &num_params, 0); | 1802 | module_param_array(mem, int, NULL, 0); |
1803 | module_param_array(mem, int, &num_params, 0); | ||
1804 | module_param(autodetect, int, 0); | 1803 | module_param(autodetect, int, 0); |
1805 | MODULE_PARM_DESC(io, "EtherExpress Pro/10 I/O base addres(es)"); | 1804 | MODULE_PARM_DESC(io, "EtherExpress Pro/10 I/O base addres(es)"); |
1806 | MODULE_PARM_DESC(irq, "EtherExpress Pro/10 IRQ number(s)"); | 1805 | MODULE_PARM_DESC(irq, "EtherExpress Pro/10 IRQ number(s)"); |