vserver 2.0 rc7
[linux-2.6.git] / drivers / net / arcnet / com20020.c
index b40ee3f..0dc70c7 100644 (file)
@@ -159,7 +159,7 @@ int com20020_found(struct net_device *dev, int shared)
 
        /* Initialize the rest of the device structure. */
 
-       lp = (struct arcnet_local *) dev->priv;
+       lp = dev->priv;
 
        lp->hw.owner = THIS_MODULE;
        lp->hw.command = com20020_command;
@@ -233,7 +233,7 @@ int com20020_found(struct net_device *dev, int shared)
  */
 static int com20020_reset(struct net_device *dev, int really_reset)
 {
-       struct arcnet_local *lp = (struct arcnet_local *) dev->priv;
+       struct arcnet_local *lp = dev->priv;
        u_int ioaddr = dev->base_addr;
        u_char inbyte;
 
@@ -300,7 +300,7 @@ static int com20020_status(struct net_device *dev)
 
 static void com20020_close(struct net_device *dev)
 {
-       struct arcnet_local *lp = (struct arcnet_local *) dev->priv;
+       struct arcnet_local *lp = dev->priv;
        int ioaddr = dev->base_addr;
 
        /* disable transmitter */