Remove unneeded casts of (void *) pointers.

Signed-off-by: Domen Puncer <domen@coderock.org>

--- c/drivers/net/irda/w83977af_ir.c	2004-08-17 11:45:07.000000000 +0200
+++ a/drivers/net/irda/w83977af_ir.c	2004-12-03 12:36:07.000000000 +0100
@@ -501,7 +501,7 @@ int w83977af_hard_xmit(struct sk_buff *s
 	__u8 set;
 	int mtt;
 	
-	self = (struct w83977af_ir *) dev->priv;
+	self = dev->priv;
 
 	iobase = self->io.fir_base;
 
@@ -1115,7 +1115,7 @@ static __u8 w83977af_fir_interrupt(struc
 static irqreturn_t w83977af_interrupt(int irq, void *dev_id,
 					struct pt_regs *regs)
 {
-	struct net_device *dev = (struct net_device *) dev_id;
+	struct net_device *dev = dev_id;
 	struct w83977af_ir *self;
 	__u8 set, icr, isr;
 	int iobase;
@@ -1125,7 +1125,7 @@ static irqreturn_t w83977af_interrupt(in
 			driver_name, irq);
 		return IRQ_NONE;
 	}
-	self = (struct w83977af_ir *) dev->priv;
+	self = dev->priv;
 
 	iobase = self->io.fir_base;
 
@@ -1198,16 +1198,14 @@ static int w83977af_net_open(struct net_
 	IRDA_DEBUG(0, "%s()\n", __FUNCTION__ );
 	
 	ASSERT(dev != NULL, return -1;);
-	self = (struct w83977af_ir *) dev->priv;
+	self = dev->priv;
 	
 	ASSERT(self != NULL, return 0;);
 	
 	iobase = self->io.fir_base;
 
-	if (request_irq(self->io.irq, w83977af_interrupt, 0, dev->name, 
-			(void *) dev)) {
+	if (request_irq(self->io.irq, w83977af_interrupt, 0, dev->name, dev))
 		return -EAGAIN;
-	}
 	/*
 	 * Always allocate the DMA channel after the IRQ,
 	 * and clean up on failure.
@@ -1262,7 +1260,7 @@ static int w83977af_net_close(struct net
 
 	ASSERT(dev != NULL, return -1;);
 	
-	self = (struct w83977af_ir *) dev->priv;
+	self = dev->priv;
 	
 	ASSERT(self != NULL, return 0;);
 	
@@ -1345,7 +1343,7 @@ out:
 
 static struct net_device_stats *w83977af_net_get_stats(struct net_device *dev)
 {
-	struct w83977af_ir *self = (struct w83977af_ir *) dev->priv;
+	struct w83977af_ir *self = dev->priv;
 	
 	return &self->stats;
 }
