Skip to content

Commit

Permalink
sfc: remove unused 'refcnt' from efx_rx_page_state
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
  • Loading branch information
Andrew Rybchenko authored and Ben Hutchings committed Dec 12, 2013
1 parent fbd7912 commit ff2de51
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/net/ethernet/sfc/net_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ff2de51

Please sign in to comment.