Skip to content

Commit

Permalink
net/at91_ether: drop board_data private struct member
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joachim Eastwood authored and David S. Miller committed Nov 7, 2012
1 parent 2ea32ee commit 4dda6f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 0 additions & 2 deletions drivers/net/ethernet/cadence/at91_ether.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
7 changes: 1 addition & 6 deletions drivers/net/ethernet/cadence/macb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 4dda6f6

Please sign in to comment.