Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268883
b: refs/heads/master
c: 5ad5be5
h: refs/heads/master
i:
  268881: eb71526
  268879: d7cdf5f
v: v3
  • Loading branch information
Mark Einon authored and Greg Kroah-Hartman committed Oct 23, 2011
1 parent 2f61a82 commit 0bd33c0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 16d8de3cc9484ccebab20331c03d1b6ba8636d76
refs/heads/master: 5ad5be581ed19becd184731fd0e9711abc5650c6
18 changes: 0 additions & 18 deletions trunk/drivers/staging/et131x/et131x.c
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,6 @@ int32_t et131x_mii_write(struct et131x_adapter *adapter,
void et131x_rx_dma_memory_free(struct et131x_adapter *adapter);
void et131x_rx_dma_disable(struct et131x_adapter *adapter);
void et131x_rx_dma_enable(struct et131x_adapter *adapter);
void et131x_reset_recv(struct et131x_adapter *adapter);
void et131x_init_send(struct et131x_adapter *adapter);
void et131x_tx_dma_enable(struct et131x_adapter *adapter);

Expand Down Expand Up @@ -1839,9 +1838,6 @@ void et1310_disable_phy_coma(struct et131x_adapter *adapter)
/* Re-initialize the send structures */
et131x_init_send(adapter);

/* Reset the RFD list and re-start RU */
et131x_reset_recv(adapter);

/* Bring the device back to the state it was during init prior to
* autonegotiation being complete. This way, when we get the auto-neg
* complete interrupt, we can complete init by calling ConfigMacREGS2.
Expand Down Expand Up @@ -2881,17 +2877,6 @@ static struct rfd *nic_rx_pkts(struct et131x_adapter *adapter)
return rfd;
}

/**
* et131x_reset_recv - Reset the receive list
* @adapter: pointer to our adapter
*
* Assumption, Rcv spinlock has been acquired.
*/
void et131x_reset_recv(struct et131x_adapter *adapter)
{
WARN_ON(list_empty(&adapter->rx_ring.recv_list));
}

/**
* et131x_handle_recv_interrupt - Interrupt handler for receive processing
* @adapter: pointer to our adapter
Expand Down Expand Up @@ -4251,9 +4236,6 @@ static void et131x_adjust_link(struct net_device *netdev)
/* Re-initialize the send structures */
et131x_init_send(adapter);

/* Reset the RFD list and re-start RU */
et131x_reset_recv(adapter);

/*
* Bring the device back to the state it was during
* init prior to autonegotiation being complete. This
Expand Down

0 comments on commit 0bd33c0

Please sign in to comment.