diff options
| author | Zhang Changzhong <[email protected]> | 2020-09-14 21:14:24 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-09-14 13:42:50 -0700 |
| commit | 992bae7e429ccb847491c36f6d0e78446b55efa7 (patch) | |
| tree | c639af3f3c64548e467481663c666893b14b6a21 /tools/perf/scripts/python | |
| parent | 85743cead5ab2716f3b81ada5191aad68feb8678 (diff) | |
net: fec: ptp: remove unused variable 'ns' in fec_time_keep()
Fixes the following W=1 kernel build warning(s):
drivers/net/ethernet/freescale/fec_ptp.c:523:6: warning:
variable 'ns' set but not used [-Wunused-but-set-variable]
523 | u64 ns;
| ^~
After commit 6605b730c061 ("FEC: Add time stamping code and a PTP
hardware clock"), variable 'ns' is never used in fec_time_keep(),
so removing it to avoid build warning.
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Zhang Changzhong <[email protected]>
Acked-by: Fugang Duan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions