[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191210.174742.719483404374318765.davem@davemloft.net>
Date: Tue, 10 Dec 2019 17:47:42 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: chenwandun@...wei.com
Cc: claudiu.manoil@....com, po.liu@....com, vladimir.oltean@....com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] enetc: remove variable 'tc_max_sized_frame' set but
not used
From: Chen Wandun <chenwandun@...wei.com>
Date: Tue, 10 Dec 2019 18:24:50 +0800
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/freescale/enetc/enetc_qos.c: In function enetc_setup_tc_cbs:
> drivers/net/ethernet/freescale/enetc/enetc_qos.c:195:6: warning: variable tc_max_sized_frame set but not used [-Wunused-but-set-variable]
>
> Fixes: c431047c4efe ("enetc: add support Credit Based Shaper(CBS) for hardware offload")
> Signed-off-by: Chen Wandun <chenwandun@...wei.com>
Applied to net-next.
Powered by blists - more mailing lists