diff options
author | Andrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru> | 2013-11-22 23:42:07 -0500 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2013-12-12 17:07:26 -0500 |
commit | ff2de51bfb26e8d6f2ee6d45d5a5eedf51c19d2f (patch) | |
tree | 717d2b1dde7858880243e3ee1a1ce5a6766a55fc /drivers/net/ethernet/sfc/net_driver.h | |
parent | fbd791202b8c5a06c8c9312bf191d69c0bb5136c (diff) |
sfc: remove unused 'refcnt' from efx_rx_page_state
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/net_driver.h')
-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 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 { | |||
288 | * Used to facilitate sharing dma mappings between recycled rx buffers | 288 | * Used to facilitate sharing dma mappings between recycled rx buffers |
289 | * and those passed up to the kernel. | 289 | * and those passed up to the kernel. |
290 | * | 290 | * |
291 | * @refcnt: Number of struct efx_rx_buffer's referencing this page. | ||
292 | * When refcnt falls to zero, the page is unmapped for dma | ||
293 | * @dma_addr: The dma address of this page. | 291 | * @dma_addr: The dma address of this page. |
294 | */ | 292 | */ |
295 | struct efx_rx_page_state { | 293 | struct efx_rx_page_state { |
296 | unsigned refcnt; | ||
297 | dma_addr_t dma_addr; | 294 | dma_addr_t dma_addr; |
298 | 295 | ||
299 | unsigned int __pad[0] ____cacheline_aligned; | 296 | unsigned int __pad[0] ____cacheline_aligned; |