summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cadence
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2012-11-07 08:14:55 +0000
committerDavid S. Miller <davem@davemloft.net>2012-11-07 17:44:37 -0500
commit4dda6f6d241c846a7783461ee66671866781e305 (patch)
tree6f41375c7ef2ad2807f534cb87af828ea0633228 /drivers/net/ethernet/cadence
parent2ea32eedc09e5bed031020905c7ee349987a5878 (diff)
downloadop-kernel-dev-4dda6f6d241c846a7783461ee66671866781e305.zip
op-kernel-dev-4dda6f6d241c846a7783461ee66671866781e305.tar.gz
net/at91_ether: drop board_data private struct member
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>
Diffstat (limited to 'drivers/net/ethernet/cadence')
-rw-r--r--drivers/net/ethernet/cadence/at91_ether.c2
-rw-r--r--drivers/net/ethernet/cadence/macb.h7
2 files changed, 1 insertions, 8 deletions
diff --git a/drivers/net/ethernet/cadence/at91_ether.c b/drivers/net/ethernet/cadence/at91_ether.c
index 65a9afa..67b66c4 100644
--- a/drivers/net/ethernet/cadence/at91_ether.c
+++ b/drivers/net/ethernet/cadence/at91_ether.c
@@ -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 */
diff --git a/drivers/net/ethernet/cadence/macb.h b/drivers/net/ethernet/cadence/macb.h
index 97f74dd..864e380 100644
--- a/drivers/net/ethernet/cadence/macb.h
+++ b/drivers/net/ethernet/cadence/macb.h
@@ -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 */
OpenPOWER on IntegriCloud