mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
tools/power turbostat: Cleanup: Remove useless assert()
No functional change. Assisted-by: Claude:claude-haiku-4-5 Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
244cc1e302
commit
91aa566a7e
|
|
@ -3283,8 +3283,6 @@ int dump_counters(PER_THREAD_PARAMS)
|
|||
|
||||
double rapl_counter_get_value(const struct rapl_counter *c, enum rapl_unit desired_unit, double interval)
|
||||
{
|
||||
assert(desired_unit != RAPL_UNIT_INVALID);
|
||||
|
||||
/*
|
||||
* For now we don't expect anything other than joules,
|
||||
* so just simplify the logic.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user