]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/hamachi.c
drivers/net: Remove unnecessary returns from void function()s
[net-next-2.6.git] / drivers / net / hamachi.c
index 83f43bb835d66bb5a20935bb065016e166992ad5..61f2b1cfcd46317ada1a0a6333d900810b28d9e0 100644 (file)
@@ -859,7 +859,6 @@ static void mdio_write(struct net_device *dev, int phy_id, int location, int val
        for (i = 10000; i >= 0; i--)
                if ((readw(ioaddr + MII_Status) & 1) == 0)
                        break;
-       return;
 }
 
 
@@ -1225,8 +1224,6 @@ static void hamachi_init_ring(struct net_device *dev)
        }
        /* Mark the last entry of the ring */
        hmp->tx_ring[TX_RING_SIZE-1].status_n_length |= cpu_to_le32(DescEndRing);
-
-       return;
 }