Skip to content

Commit

Permalink
[PATCH] eepro.c: module_param_array cleanup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florin Malita authored and Jeff Garzik committed Oct 28, 2005
1 parent b6a1d5f commit a1bfcd9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions drivers/net/eepro.c
Original file line number Diff line number Diff line change
Expand Up @@ -1797,10 +1797,9 @@ MODULE_AUTHOR("Pascal Dupuis and others");
MODULE_DESCRIPTION("Intel i82595 ISA EtherExpressPro10/10+ driver");
MODULE_LICENSE("GPL");

static int num_params;
module_param_array(io, int, &num_params, 0);
module_param_array(irq, int, &num_params, 0);
module_param_array(mem, int, &num_params, 0);
module_param_array(io, int, NULL, 0);
module_param_array(irq, int, NULL, 0);
module_param_array(mem, int, NULL, 0);
module_param(autodetect, int, 0);
MODULE_PARM_DESC(io, "EtherExpress Pro/10 I/O base addres(es)");
MODULE_PARM_DESC(irq, "EtherExpress Pro/10 IRQ number(s)");
Expand Down

0 comments on commit a1bfcd9

Please sign in to comment.