net: sh_eth: Add support SH7734 Ethernet device
[oweals/u-boot.git] / drivers / net / ftgmac100.c
index 821840f8e982ab9476f5026420876f74f67a2401..69ba57d3d006e7638b96106221966b7980389682 100644 (file)
@@ -33,8 +33,6 @@
 
 #define ETH_ZLEN       60
 
-#define mdelay(n) ({unsigned long msec = (n); while (msec--) udelay(1000); })
-
 /* RBSR - hw default init value is also 0x640 */
 #define RBSR_DEFAULT_VALUE     0x640
 
@@ -482,8 +480,7 @@ static int ftgmac100_recv(struct eth_device *dev)
 /*
  * Send a data block via Ethernet
  */
-static int
-ftgmac100_send(struct eth_device *dev, void *packet, int length)
+static int ftgmac100_send(struct eth_device *dev, void *packet, int length)
 {
        struct ftgmac100 *ftgmac100 = (struct ftgmac100 *)dev->iobase;
        struct ftgmac100_data *priv = dev->priv;