[Compile Regression in 2.4.25-pre8][PATCH 14/42]

Kronos
2004-02-02T21:03:47Z

dtc.c:182: warning: `dtc_setup' defined but not used

dtc_setup isn't used when the driver is modular.

diff -Nru -X dontdiff linux-2.4-vanilla/drivers/scsi/dtc.c linux-2.4/drivers/scsi/dtc.c
--- linux-2.4-vanilla/drivers/scsi/dtc.c Tue Nov 11 17:51:39 2003
+++ linux-2.4/drivers/scsi/dtc.c Sat Jan 31 17:17:40 2004
@@ -172,6 +172,7 @@

#define NO_SIGNATURES (sizeof (signatures) / sizeof (struct signature))

+#ifndef MODULE
/**
* dtc_setup - option setup for dtc3x80
*
@@ -202,6 +203,7 @@
}

__setup("dtc=", dtc_setup);
+#endif

/**
* dtc_detect - detect DTC 3x80 controllers
--
Reply-To: kronos@kronoz.cjb.net
Home: http://kronoz.cjb.net
Alcuni pensano che io sia una persona orribile, ma non vero. Ho il
cuore di un ragazzino - in un vaso sulla scrivania.