summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>2013-11-23 08:42:07 +0400
committerBen Hutchings <bhutchings@solarflare.com>2013-12-12 22:07:26 +0000
commitff2de51bfb26e8d6f2ee6d45d5a5eedf51c19d2f (patch)
tree717d2b1dde7858880243e3ee1a1ce5a6766a55fc
parentfbd791202b8c5a06c8c9312bf191d69c0bb5136c (diff)
downloadlinux-ff2de51bfb26e8d6f2ee6d45d5a5eedf51c19d2f.tar.bz2
sfc: remove unused 'refcnt' from efx_rx_page_state
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
-rw-r--r--drivers/net/ethernet/sfc/net_driver.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/sfc/net_driver.h b/drivers/net/ethernet/sfc/net_driver.h
index a0de5c50a0e7..bc1ff36c03e6 100644
--- a/drivers/net/ethernet/sfc/net_driver.h
+++ b/drivers/net/ethernet/sfc/net_driver.h
@@ -288,12 +288,9 @@ struct efx_rx_buffer {
* Used to facilitate sharing dma mappings between recycled rx buffers
* and those passed up to the kernel.
*
- * @refcnt: Number of struct efx_rx_buffer's referencing this page.
- * When refcnt falls to zero, the page is unmapped for dma
* @dma_addr: The dma address of this page.
*/
struct efx_rx_page_state {
- unsigned refcnt;
dma_addr_t dma_addr;
unsigned int __pad[0] ____cacheline_aligned;