sfc: remove unused 'refcnt' from efx_rx_page_state
authorAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Sat, 23 Nov 2013 04:42:07 +0000 (08:42 +0400)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 12 Dec 2013 22:07:26 +0000 (22:07 +0000)
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/net_driver.h

index a0de5c5..bc1ff36 100644 (file)
@@ -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;