[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080529181731.5396.42286.stgit@warthog.procyon.org.uk>
Date: Thu, 29 May 2008 19:17:31 +0100
From: David Howells <dhowells@...hat.com>
To: torvalds@...l.org, akpm@...ux-foundation.org
Cc: dhowells@...hat.com, bunk@...nel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 2/6] Werror: Hide epca_setup() as it's unused
Hide epca_setup() by encasing it in #if 0 as it's unused.
Signed-off-by: David Howells <dhowells@...hat.com>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists