diff options
| author | Wang Hai <wanghai38@huawei.com> | 2020-09-07 22:12:07 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2020-09-07 13:56:24 -0700 |
| commit | 30ebaf8e638701bebbc2703159f4d86982ea0430 (patch) | |
| tree | 2cd5eda0b45d471a91177000d775fbfd2edddb06 /tools/perf/scripts/python/bin | |
| parent | net: ethernet: dwmac: remove redundant null check before clk_disable_unprepare() (diff) | |
| download | linux-30ebaf8e638701bebbc2703159f4d86982ea0430.tar.gz linux-30ebaf8e638701bebbc2703159f4d86982ea0430.zip | |
net: ethernet: dnet: Remove set but unused variable 'len'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/net/ethernet/dnet.c: In function dnet_start_xmit
drivers/net/ethernet/dnet.c:511:15: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
commit 4796417417a6 ("dnet: Dave DNET ethernet controller driver (updated)")
involved this unused variable, remove it.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
