[netdrvr] irq handler minor cleanups in several drivers
[linux-2.6-block.git] / arch / ppc / 8260_io / fcc_enet.c
index 6f3ed6a72e0be3a2c895485824ff8c8ec842e54f..a3a27dafff1fc73fc3d1ebc777213fc3a9819598 100644 (file)
@@ -524,7 +524,7 @@ fcc_enet_timeout(struct net_device *dev)
 
 /* The interrupt handler. */
 static irqreturn_t
-fcc_enet_interrupt(int irq, void * dev_id)
+fcc_enet_interrupt(int irq, void *dev_id)
 {
        struct  net_device *dev = dev_id;
        volatile struct fcc_enet_private *cep;
@@ -532,7 +532,7 @@ fcc_enet_interrupt(int irq, void * dev_id)
        ushort  int_events;
        int     must_restart;
 
-       cep = (struct fcc_enet_private *)dev->priv;
+       cep = dev->priv;
 
        /* Get the interrupt events that caused us to be here.
        */