summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2025-08-15 14:31:21 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-08-17 12:16:26 +0200
commit23cd838a178a81183da9db6cb3390bb540b000a5 (patch)
tree8980ad24bb61930f701fce1bc336f4770c1c6b4b /tools/perf/scripts/python
parentc851b71fd6cdbf3000bf0a2354592a0f09db3ba3 (diff)
downloadlinux-23cd838a178a81183da9db6cb3390bb540b000a5.tar.gz
linux-23cd838a178a81183da9db6cb3390bb540b000a5.zip
USB: Check no positive return values from pm_runtime_resume_and_get()
pm_runtime_resume_and_get() always returns a negative error code or zero; there's no need to check for positive values such as returned by pm_runtime_get_sync(). Simply drop the check. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Link: https://lore.kernel.org/r/20250815113121.925641-1-sakari.ailus@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions