The patch titled
mxser: Fix warning: 'CheckIsMoxaMust' defined but not used
has been removed from the -mm tree. Its filename was
mxser-fix-compiler-warning-when-building-withoug-config_pci-fix.patch
This patch was dropped because it was folded into
mxser-fix-compiler-warning-when-building-withoug-config_pci.patch
------------------------------------------------------
Subject: mxser: Fix warning: 'CheckIsMoxaMust' defined but not used
From: Jesper Juhl <[EMAIL PROTECTED]>
drivers/char/mxser.c:427: warning: 'CheckIsMoxaMust' defined but not used
when building Moxa driver without CONFIG_PCI.
Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/char/mxser.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff -puN
drivers/char/mxser.c~mxser-fix-compiler-warning-when-building-withoug-config_pci-fix
drivers/char/mxser.c
---
a/drivers/char/mxser.c~mxser-fix-compiler-warning-when-building-withoug-config_pci-fix
+++ a/drivers/char/mxser.c
@@ -421,7 +421,7 @@ static void mxser_wait_until_sent(struct
static void mxser_startrx(struct tty_struct *tty);
static void mxser_stoprx(struct tty_struct *tty);
-
+#ifdef CONFIG_PCI
static int CheckIsMoxaMust(int io)
{
u8 oldmcr, hwid;
@@ -444,6 +444,7 @@ static int CheckIsMoxaMust(int io)
}
return MOXA_OTHER_UART;
}
+#endif
/* above is modified by Victor Yu. 08-15-2002 */
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
origin.patch
mxser-fix-compiler-warning-when-building-withoug-config_pci.patch
mxser-fix-compiler-warning-when-building-withoug-config_pci-fix.patch
cyclades-avoid-label-defined-but-not-used-warning.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html