Messages in this thread | | | Date | Tue, 10 Dec 2019 17:47:42 -0800 (PST) | Subject | Re: [PATCH] enetc: remove variable 'tc_max_sized_frame' set but not used | From | David Miller <> |
| |
From: Chen Wandun <chenwandun@huawei.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@huawei.com>
Applied to net-next.
| |