diff options
author | Andy Shevchenko <[email protected]> | 2022-06-08 15:03:56 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-06-10 08:36:08 -0700 |
commit | 3a544ebf9f99b612442064c792f34de5bad3cb31 (patch) | |
tree | 4ae3d618772451fca8688ccc3abd425e314c58ef /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 1132bb29993e0245515a3a519c1ff7f032ab4f7c (diff) |
ptp_ocp: drop duplicate NULL check in ptp_ocp_detach()
Since platform_device_unregister() is NULL-aware, we don't need to duplicate
this check. Remove it and fold the rest of the code.
Signed-off-by: Andy Shevchenko <[email protected]>
Acked-by: Vadim Fedorenko <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions