diff options
author | Calvin Johnson <[email protected]> | 2021-06-11 13:53:53 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-06-11 13:08:52 -0700 |
commit | b9926da003cab58594803a2bc5a1d5bd7c670eba (patch) | |
tree | 306f614f582f2e98e9062a7d1070a7525c118b26 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | cf99686072a1b7037a1d782b66037b2b722bf2c9 (diff) |
net: mii_timestamper: check NULL in unregister_mii_timestamper()
Callers of unregister_mii_timestamper() currently check for NULL
value of mii_ts before calling it.
Place the NULL check inside unregister_mii_timestamper() and update
the callers accordingly.
Signed-off-by: Calvin Johnson <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Suggested-by: Andy Shevchenko <[email protected]>
Signed-off-by: Ioana Ciornei <[email protected]>
Acked-by: Grant Likely <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions