aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-10-19 03:10:11 -0400
committerJeff Garzik <jeff@garzik.org>2007-10-23 19:53:16 -0400
commit06efcad0d43a5491602f7d7bfc1ce997cdb0d062 (patch)
tree17ad5e11fc046c4b0fd8093af161fade77635fd2 /drivers/atm
parent5712cb3d81566893c3b14e24075cf48ec5c35d00 (diff)
downloadkernel_goldelico_gta04-06efcad0d43a5491602f7d7bfc1ce997cdb0d062.zip
kernel_goldelico_gta04-06efcad0d43a5491602f7d7bfc1ce997cdb0d062.tar.gz
kernel_goldelico_gta04-06efcad0d43a5491602f7d7bfc1ce997cdb0d062.tar.bz2
Eliminate pointless casts from void* in a few driver irq handlers.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/atm')
-rw-r--r--drivers/atm/horizon.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/atm/horizon.c b/drivers/atm/horizon.c
index f96446c..9b2cf25 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;