diff options
author | Andrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru> | 2013-11-23 08:42:07 +0400 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2013-12-12 22:07:26 +0000 |
commit | ff2de51bfb26e8d6f2ee6d45d5a5eedf51c19d2f (patch) | |
tree | 717d2b1dde7858880243e3ee1a1ce5a6766a55fc /drivers/net/ethernet/sfc | |
parent | fbd791202b8c5a06c8c9312bf191d69c0bb5136c (diff) | |
download | op-kernel-dev-ff2de51bfb26e8d6f2ee6d45d5a5eedf51c19d2f.zip op-kernel-dev-ff2de51bfb26e8d6f2ee6d45d5a5eedf51c19d2f.tar.gz |
sfc: remove unused 'refcnt' from efx_rx_page_state
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc')
-rw-r--r-- | drivers/net/ethernet/sfc/net_driver.h | 3 |
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 a0de5c5..bc1ff36 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; |