[<prev] [next>] [day] [month] [year] [list]
Message-id: <swf642oe9vf.wl%takata.hirokazu@renesas.com>
Date: Thu, 06 Sep 2007 12:44:04 +0900
From: Hirokazu Takata <takata@...ux-m32r.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
"Robert P. J. Day" <rpjday@...dspring.com>,
Hirokazu Takata <takata@...ux-m32r.org>
Subject: [PATCH 2.6.23-rc4-mm1] m32r: serial: remove M32R_SIO_SHARE_IRQS
Remove an unused symbol M32R_SIO_SHARE_IRQS from
drivers/serial/m32r_sio.h.
Signed-off-by: Hirokazu Takata <takata@...ux-m32r.org>
Cc: "Robert P. J. Day" <rpjday@...dspring.com>
---
drivers/serial/m32r_sio.c | 2 +-
drivers/serial/m32r_sio.h | 6 ------
2 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/drivers/serial/m32r_sio.c b/drivers/serial/m32r_sio.c
index 6e09c8b..348ee2c 100644
--- a/drivers/serial/m32r_sio.c
+++ b/drivers/serial/m32r_sio.c
@@ -539,7 +539,7 @@ static void serial_do_unlink(struct irq_info *i, struct uart_sio_port *up)
static int serial_link_irq_chain(struct uart_sio_port *up)
{
struct irq_info *i = irq_lists + up->port.irq;
- int ret, irq_flags = up->port.flags & UPF_SHARE_IRQ ? IRQF_SHARED : 0;
+ int ret, irq_flags = 0;
spin_lock_irq(&i->lock);
diff --git a/drivers/serial/m32r_sio.h b/drivers/serial/m32r_sio.h
index 849f1b2..e9b7e11 100644
--- a/drivers/serial/m32r_sio.h
+++ b/drivers/serial/m32r_sio.h
@@ -46,9 +46,3 @@ struct old_serial_port {
#define PROBE_ANY (~0)
#define HIGH_BITS_OFFSET ((sizeof(long)-sizeof(int))*8)
-
-#ifdef CONFIG_SERIAL_SIO_SHARE_IRQ
-#define M32R_SIO_SHARE_IRQS 1
-#else
-#define M32R_SIO_SHARE_IRQS 0
-#endif
--
1.5.2.4
--
Hirokazu Takata <takata@...ux-m32r.org>
Linux/M32R Project: http://www.linux-m32r.org/
-
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