summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorDarshan Rathod <darshan.rathod@siqol.com>2025-07-18 14:40:45 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-07-21 16:30:54 +0200
commitd8e1ecffb4a282791be1b3d81a05541749b0db64 (patch)
tree3f6d9a9dc57348571b22e0a54856562ef96e437c /tools/perf/scripts/python/sctop.py
parent323a80a1a5ace319a722909c006d5bdb2a35d273 (diff)
usb: usblp: clean up assignment inside if conditions
This patch cleans up a few cases where assignments were made inside of if conditions, like if ((rv = func()) < 0) into two lines, to improve readability and be more in-line with Linux kernel coding style. It also cleans up checkpatch warnings like: ERROR: do not use assignment in if condition No functional change, just a style and maintainability fix. Signed-off-by: Darshan Rathod <darshan.rathod@siqol.com> Link: https://lore.kernel.org/r/20250718091045.264129-1-darshan.rathod@siqol.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions