summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorZijun Hu <zijun.hu@oss.qualcomm.com>2026-06-25 22:19:56 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-08-07 12:32:40 -0400
commit92db4555c73f2aab9954dc7d2bc84c0563e6db7d (patch)
tree5552c68ce171a15303eb9f9b3be68f5016b43e78 /tools/perf/scripts/python/task-analyzer.py
parentc3bd57b9be300913a45a9446e34ad4438a220bea (diff)
Bluetooth: btusb: Reduce a redundant assignment in btusb_probe()
Initialize @priv_size at declaration rather than separately: - Simpler: one statement completes both declaration and assignment. - More flexible: the variable is immediately usable from that point, so any new priv_size += can be freely inserted without caring about where the separate priv_size = 0 sits. Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Signed-off-by: Zijun Hu <zijun.hu@oss.qualcomm.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions