diff options
| author | Francesco Dolcini <[email protected]> | 2024-01-05 00:57:23 +0100 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2024-02-14 11:24:30 +0100 |
| commit | e517293fd72d9044902efae59f05203203a60736 (patch) | |
| tree | fb60060b414481d7e126570c343181af883993b1 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | e1a00373e1305578cd09526aa056940409e6b877 (diff) | |
can: m_can: remove redundant check for pm_clock_support
m_can_clk_start() already skip starting the clock when
clock support is disabled, remove the redundant check in
m_can_class_register().
This also solves the imbalance with m_can_clk_stop() that is called
afterward in the same function before the return.
Signed-off-by: Francesco Dolcini <[email protected]>
Reviewed-by: Markus Schneider-Pargmann <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
[mkl: rebased to net-next/main]
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions