Skip to contentSkip to conversation

drivers/char/moxa.c: #if 0 an unused function

PATCH In review Adrian Bunk 2 participants 2 messages Jan 23, 2005 – Jan 24, 2005 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/char/moxa.c: #if 0 an unused function

This patch #if 0's an unused global function.

---

This patch was already sent on:
- 6 Dec 2004

drivers/char/moxa.c renamed from drivers/char/moxa.c.old +2 -0
@@ -3090,6 +3090,7 @@
 	return (0);
 }
 
+#if 0
 long MoxaPortGetCurBaud(int port)
 {
 
@@ -3097,6 +3098,7 @@
 		return (0);
 	return (moxaCurBaud[port]);
 }
+#endif  /*  0  */
 
 static void MoxaSetFifo(int port, int enable)
 {
#1 lore raw
Quoted 1 line · Adrian Bunk

This patch #if 0's an unused global function.

Ugh, why? Why not just remove it if it's unused?

josh