summaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/selftest.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-11-25 16:12:24 +0000
committerDavid S. Miller <davem@davemloft.net>2009-11-26 15:59:52 -0800
commitf30eb23ea50a6be7ea282a2dc3909119892ebc79 (patch)
tree7db5463087da102e330c846e2803534b7709848f /drivers/net/sfc/selftest.c
parent8be4f3e6f7b670529bd67aa1f0319bec1e29ebcf (diff)
downloadop-kernel-dev-f30eb23ea50a6be7ea282a2dc3909119892ebc79.zip
op-kernel-dev-f30eb23ea50a6be7ea282a2dc3909119892ebc79.tar.gz
sfc: Move inline comment into kernel-doc
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/selftest.c')
-rw-r--r--drivers/net/sfc/selftest.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/sfc/selftest.c b/drivers/net/sfc/selftest.c
index 23e646a..4f4f287 100644
--- a/drivers/net/sfc/selftest.c
+++ b/drivers/net/sfc/selftest.c
@@ -55,6 +55,7 @@ static const char *payload_msg =
* @flush: Drop all packets in efx_loopback_rx_packet
* @packet_count: Number of packets being used in this test
* @skbs: An array of skbs transmitted
+ * @offload_csum: Checksums are being offloaded
* @rx_good: RX good packet count
* @rx_bad: RX bad packet count
* @payload: Payload used in tests
@@ -63,10 +64,7 @@ struct efx_loopback_state {
bool flush;
int packet_count;
struct sk_buff **skbs;
-
- /* Checksums are being offloaded */
bool offload_csum;
-
atomic_t rx_good;
atomic_t rx_bad;
struct efx_loopback_payload payload;
OpenPOWER on IntegriCloud