[PATCH 2/6] Werror: Hide epca_setup() as it's unused

From: David Howells
Date: Thu May 29 2008 - 14:21:05 EST


Hide epca_setup() by encasing it in #if 0 as it's unused.

Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
---

drivers/char/epca.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)


diff --git a/drivers/char/epca.c b/drivers/char/epca.c
index 60a4df7..0d3f685 100644
--- a/drivers/char/epca.c
+++ b/drivers/char/epca.c
@@ -186,7 +186,9 @@ static void pc_throttle(struct tty_struct *tty);
static void pc_unthrottle(struct tty_struct *tty);
static void digi_send_break(struct channel *ch, int msec);
static void setup_empty_event(struct tty_struct *tty, struct channel *ch);
+#if 0 // UNUSED
static void epca_setup(char *, int *);
+#endif

static int pc_write(struct tty_struct *, const unsigned char *, int);
static int pc_init(void);
@@ -2538,6 +2540,7 @@ static void setup_empty_event(struct tty_struct *tty, struct channel *ch)
memoff(ch);
}

+#if 0 // UNUSED
static void epca_setup(char *str, int *ints)
{
struct board_info board;
@@ -2791,6 +2794,7 @@ static void epca_setup(char *str, int *ints)
board.numports, (int)board.port, (unsigned int) board.membase);
num_cards++;
}
+#endif

enum epic_board_types {
brd_xr = 0,

--
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/