[PATCH] remove enable_irq_nosync

From: Christoph Hellwig
Date: Sun Nov 13 2005 - 03:00:01 EST


m68k, m68knommu and h8300 define this, but it's not actually used
anywhere.


Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Index: linux-2.6/include/asm-h8300/irq.h
===================================================================
--- linux-2.6.orig/include/asm-h8300/irq.h 2005-11-13 00:06:45.000000000 +0100
+++ linux-2.6/include/asm-h8300/irq.h 2005-11-13 00:07:53.000000000 +0100
@@ -61,11 +61,6 @@

extern void enable_irq(unsigned int);
extern void disable_irq(unsigned int);
-
-/*
- * Some drivers want these entry points
- */
-#define enable_irq_nosync(x) enable_irq(x)
#define disable_irq_nosync(x) disable_irq(x)

struct irqaction;
Index: linux-2.6/include/asm-m68k/irq.h
===================================================================
--- linux-2.6.orig/include/asm-m68k/irq.h 2005-11-13 00:06:45.000000000 +0100
+++ linux-2.6/include/asm-m68k/irq.h 2005-11-13 00:07:53.000000000 +0100
@@ -70,8 +70,6 @@

extern void (*enable_irq)(unsigned int);
extern void (*disable_irq)(unsigned int);
-
-#define disable_irq_nosync disable_irq
#define enable_irq_nosync enable_irq

struct pt_regs;
Index: linux-2.6/include/asm-m68knommu/irq.h
===================================================================
--- linux-2.6.orig/include/asm-m68knommu/irq.h 2005-11-13 00:07:53.000000000 +0100
+++ linux-2.6/include/asm-m68knommu/irq.h 2005-11-13 00:08:09.000000000 +0100
@@ -86,8 +86,6 @@
*/
#define enable_irq(x) 0
#define disable_irq(x) do { } while (0)
-
-#define enable_irq_nosync(x) enable_irq(x)
#define disable_irq_nosync(x) disable_irq(x)

struct irqaction;
-
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/