diff options
| author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2025-08-15 14:31:21 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-17 12:16:26 +0200 |
| commit | 23cd838a178a81183da9db6cb3390bb540b000a5 (patch) | |
| tree | 8980ad24bb61930f701fce1bc336f4770c1c6b4b /scripts/lib/kdoc/kdoc_parser.py | |
| parent | c851b71fd6cdbf3000bf0a2354592a0f09db3ba3 (diff) | |
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 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
