aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMartin Kaiser <[email protected]>2022-04-13 21:36:52 +0200
committerGreg Kroah-Hartman <[email protected]>2022-04-14 09:06:59 +0200
commit1dd0ac70494c1d04073de2dd5b51a60215f4d760 (patch)
tree22beb709fc59aa53a1ed6086c677341b154d3ec5 /tools/perf/scripts/python
parent3b9d0da6aa08a34426489b2836d2f63ab7bc2051 (diff)
staging: r8188eu: clean up the code to set ips_deny_time
Clean up the code in rtw_pwr_wakeup that sets pwrpriv->ips_deny_time. Make ips_deny_time an unsigned long, this type is used by the kernel functions that process jiffies. Remove the temporary variable ips_deffer_ms and use RTW_PWR_STATE_CHK_INTERVAL directly. There's no need to set ips_deny_time twice, it's sufficient to set it at the end of rtw_pwr_wakeup. Use time_before to check if ips_deny_time should be updated. We can now remove rtw_ms_to_systime, this function is not used any more. Signed-off-by: Martin Kaiser <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions