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 a0de5c50a0e78a795c3baed699649a06e4ab4b8d..bc1ff36c03e68443550c231a79a85d3824c740ed 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;