From 06efcad0d43a5491602f7d7bfc1ce997cdb0d062 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Fri, 19 Oct 2007 03:10:11 -0400 Subject: Eliminate pointless casts from void* in a few driver irq handlers. Signed-off-by: Jeff Garzik --- drivers/atm/horizon.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'drivers/atm/horizon.c') diff --git a/drivers/atm/horizon.c b/drivers/atm/horizon.c index f96446c358ba..9b2cf253f02f 100644 --- a/drivers/atm/horizon.c +++ b/drivers/atm/horizon.c @@ -1382,8 +1382,9 @@ static inline void rx_data_av_handler (hrz_dev * dev) { /********** interrupt handler **********/ -static irqreturn_t interrupt_handler(int irq, void *dev_id) { - hrz_dev * dev = (hrz_dev *) dev_id; +static irqreturn_t interrupt_handler(int irq, void *dev_id) +{ + hrz_dev *dev = dev_id; u32 int_source; unsigned int irq_ok; -- cgit v1.2.1