lkml.org 
[lkml]   [2008]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/6] Werror: Hide epca_setup() as it's unused
Date
Hide epca_setup() by encasing it in #if 0 as it's unused.

Signed-off-by: David Howells <dhowells@redhat.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,


\
 
 \ /
  Last update: 2008-05-29 20:23    [W:0.142 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site