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

From: Kronos
Date: Mon Feb 02 2004 - 14:56:13 EST



i2o_block.c:510: warning: `i2ob_flush' defined but not used

i2ob_flush is unused: wrap it with #if 0

diff -Nru -X dontdiff linux-2.4-vanilla/drivers/message/i2o/i2o_block.c linux-2.4/drivers/message/i2o/i2o_block.c
--- linux-2.4-vanilla/drivers/message/i2o/i2o_block.c Sat Aug 3 02:39:44 2002
+++ linux-2.4/drivers/message/i2o/i2o_block.c Sat Jan 31 17:56:39 2004
@@ -506,6 +506,7 @@
return 1;
}

+#if 0 /* Currently unused */
static int i2ob_flush(struct i2o_controller *c, struct i2ob_device *d, int unit)
{
unsigned long msg;
@@ -531,6 +532,7 @@
i2o_post_message(c,m);
return 0;
}
+#endif

/*
* OSM reply handler. This gets all the message replies

--
Reply-To: kronos@xxxxxxxxxxxxxx
Home: http://kronoz.cjb.net
Quando un uomo porta dei fiori a sua moglie senza motivo,
un motivo c'e`.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/