public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] eepro.c: module_param_array cleanup
@ 2005-09-16 20:51 Florin Malita
  0 siblings, 0 replies; only message in thread
From: Florin Malita @ 2005-09-16 20:51 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, jgarzik

num_params is unused (and unusable in this form).

Signed-off-by: Florin Malita <fmalita@gmail.com>
----
diff --git a/drivers/net/eepro.c b/drivers/net/eepro.c
--- a/drivers/net/eepro.c
+++ b/drivers/net/eepro.c
@@ -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)");

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-16 20:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-16 20:51 [PATCH] eepro.c: module_param_array cleanup Florin Malita

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox