diff options
| author | Zhang Changzhong <[email protected]> | 2020-09-14 21:19:12 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-09-14 13:43:38 -0700 |
| commit | f7ab0f04a0f816e1329b559de91da1971c515d50 (patch) | |
| tree | 35b1a2816e9bf0323fc872586cfcf6a91c778af5 /tools/perf/scripts/python | |
| parent | 992bae7e429ccb847491c36f6d0e78446b55efa7 (diff) | |
net: pxa168_eth: remove unused variable 'retval' int pxa168_eth_change_mtu()
Fixes the following W=1 kernel build warning(s):
drivers/net/ethernet/marvell/pxa168_eth.c:1190:6: warning:
variable 'retval' set but not used [-Wunused-but-set-variable]
1190 | int retval;
| ^~~~~~
Function pxa168_eth_change_mtu() always return zero, so variable 'retval'
is redundant, just remove it.
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Zhang Changzhong <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions