diff options
author | Jeff Garzik <jeff@garzik.org> | 2008-02-06 04:36:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:01 -0500 |
commit | 15aafa2f9d8399b22e418c53a87dfc0c43f4030f (patch) | |
tree | 7861111fb87f4f69e496901d8883d0b796521255 /drivers/isdn/hardware | |
parent | bcfbf84d4067674b0740a39605f8057622ad5230 (diff) |
Remove pointless casts from void pointers
Mostly in and around irq handlers.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: "Luck Tony" <tony.luck@intel.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Dmitry Torokhov <dtor@mail.ru>
Cc: Karsten Keil <kkeil@suse.de>
Acked-by: "John W. Linville" <linville@tuxdriver.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/isdn/hardware')
-rw-r--r-- | drivers/isdn/hardware/eicon/diva.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/isdn/hardware/eicon/diva.c b/drivers/isdn/hardware/eicon/diva.c index ffa2afa77c2f..1403a5458e68 100644 --- a/drivers/isdn/hardware/eicon/diva.c +++ b/drivers/isdn/hardware/eicon/diva.c | |||
@@ -515,12 +515,11 @@ diva_xdi_read(void *adapter, void *os_handle, void __user *dst, | |||
515 | 515 | ||
516 | irqreturn_t diva_os_irq_wrapper(int irq, void *context) | 516 | irqreturn_t diva_os_irq_wrapper(int irq, void *context) |
517 | { | 517 | { |
518 | diva_os_xdi_adapter_t *a = (diva_os_xdi_adapter_t *) context; | 518 | diva_os_xdi_adapter_t *a = context; |
519 | diva_xdi_clear_interrupts_proc_t clear_int_proc; | 519 | diva_xdi_clear_interrupts_proc_t clear_int_proc; |
520 | 520 | ||
521 | if (!a || !a->xdi_adapter.diva_isr_handler) { | 521 | if (!a || !a->xdi_adapter.diva_isr_handler) |
522 | return IRQ_NONE; | 522 | return IRQ_NONE; |
523 | } | ||
524 | 523 | ||
525 | if ((clear_int_proc = a->clear_interrupts_proc)) { | 524 | if ((clear_int_proc = a->clear_interrupts_proc)) { |
526 | (*clear_int_proc) (a); | 525 | (*clear_int_proc) (a); |