[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <698affdd-d4e0-53c0-fff0-9b66252504a0@solarflare.com>
Date: Thu, 24 Nov 2016 13:22:24 +0000
From: Edward Cree <ecree@...arflare.com>
To: Dan Carpenter <dan.carpenter@...cle.com>,
Solarflare linux maintainers <linux-net-drivers@...arflare.com>
CC: Bert Kenward <bkenward@...arflare.com>, <netdev@...r.kernel.org>,
<kernel-janitors@...r.kernel.org>
Subject: Re: [patch net-next] sfc: remove unneeded variable
On 24/11/16 11:16, Dan Carpenter wrote:
> We don't use ->heap_buf after commit 46d1efd852cc ("sfc: remove Software
> TSO") so let's remove the last traces.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
>
> diff --git a/drivers/net/ethernet/sfc/net_driver.h b/drivers/net/ethernet/sfc/net_driver.h
> index f97f828..fd17bda 100644
> --- a/drivers/net/ethernet/sfc/net_driver.h
> +++ b/drivers/net/ethernet/sfc/net_driver.h
> @@ -139,8 +139,6 @@ struct efx_special_buffer {
> * struct efx_tx_buffer - buffer state for a TX descriptor
> * @skb: When @flags & %EFX_TX_BUF_SKB, the associated socket buffer to be
> * freed when descriptor completes
> - * @heap_buf: When @flags & %EFX_TX_BUF_HEAP, the associated heap buffer to be
> - * freed when descriptor completes.
Does that mean we can also remove EFX_TX_BUF_HEAP?
-Ed
Powered by blists - more mailing lists