net/at91_ether: drop board_data private struct member
authorJoachim Eastwood <manabian@gmail.com>
Wed, 7 Nov 2012 08:14:55 +0000 (08:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Nov 2012 22:44:37 +0000 (17:44 -0500)
No longer used after gpio phy interrupt support was
removed from at91_ether.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/at91_ether.c
drivers/net/ethernet/cadence/macb.h

index 65a9afaa0658135cd33610a2e873f6da61662075..67b66c4132ddb40f6954f89702eae0629c79e814 100644 (file)
@@ -387,8 +387,6 @@ static int __init at91ether_probe(struct platform_device *pdev)
        lp = netdev_priv(dev);
        lp->pdev = pdev;
        lp->dev = dev;
-       if (board_data)
-               lp->board_data = *board_data;
        spin_lock_init(&lp->lock);
 
        dev->base_addr = regs->start;           /* physical base address */
index 97f74dd13da62407ef8016468435f9bd5c966182..864e38042b2d9497d5cf8882afcee46435008663 100644 (file)
@@ -557,12 +557,7 @@ struct macb {
 
        phy_interface_t         phy_interface;
 
-       /* at91_private */
-       struct macb_platform_data board_data;   /* board-specific
-                                                * configuration (shared with
-                                                * macb for common data */
-
-       /* Transmit */
+       /* AT91RM9200 transmit */
        struct sk_buff *skb;                    /* holds skb until xmit interrupt completes */
        dma_addr_t skb_physaddr;                /* phys addr from pci_map_single */
        int skb_length;                         /* saved skb length for pci_unmap_single */