From: Andrew Rybchenko Date: Sat, 23 Nov 2013 04:42:07 +0000 (+0400) Subject: sfc: remove unused 'refcnt' from efx_rx_page_state X-Git-Tag: accepted/tizen/common/20141203.182822~719^2~473^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff2de51bfb26e8d6f2ee6d45d5a5eedf51c19d2f;p=platform%2Fkernel%2Flinux-arm64.git sfc: remove unused 'refcnt' from efx_rx_page_state Signed-off-by: Ben Hutchings --- 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;