aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/nic.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-02-03 04:31:57 -0500
committerDavid S. Miller <davem@davemloft.net>2010-02-03 22:12:47 -0500
commit754c653a4e62bfa19b4e015c45198863c4211947 (patch)
treea99304b8799c5b07bea7f4e40ed3885f6f3814bd /drivers/net/sfc/nic.c
parent2291b20f4bee6a28087cf4f4b2b382a92063c8b5 (diff)
sfc: Fix some incorrect or redundant comments
In particular, the comment about EVQ_RPTR_REG is based on inconsistent preliminary hardware documentation, though the following code was fixed long before release. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/nic.c')
-rw-r--r--drivers/net/sfc/nic.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/sfc/nic.c b/drivers/net/sfc/nic.c
index 8d9696a38edf..b06f8e348307 100644
--- a/drivers/net/sfc/nic.c
+++ b/drivers/net/sfc/nic.c
@@ -623,10 +623,6 @@ void efx_nic_remove_rx(struct efx_rx_queue *rx_queue)
623 * 623 *
624 * This writes the EVQ_RPTR_REG register for the specified channel's 624 * This writes the EVQ_RPTR_REG register for the specified channel's
625 * event queue. 625 * event queue.
626 *
627 * Note that EVQ_RPTR_REG contains the index of the "last read" event,
628 * whereas channel->eventq_read_ptr contains the index of the "next to
629 * read" event.
630 */ 626 */
631void efx_nic_eventq_read_ack(struct efx_channel *channel) 627void efx_nic_eventq_read_ack(struct efx_channel *channel)
632{ 628{