aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/task-analyzer-record
diff options
context:
space:
mode:
authorDongliang Mu <[email protected]>2023-09-05 09:35:56 +0800
committerKalle Valo <[email protected]>2023-09-21 11:03:58 +0300
commitdc73b20593544f8e1b78dded909296f2777076d0 (patch)
treef305ec2bd8966288ce861baa3921b3ad197e91ab /tools/perf/scripts/python/bin/task-analyzer-record
parent9ae8c496d211155a3f220b63da364fba1a794292 (diff)
wifi: ath9k: clean up function ath9k_hif_usb_resume
In ath9k_hif_usb_resume, the error handling code calls ath9k_hif_usb_dealloc_urbs twice in different paths. To unify the error handling code, we move the else branch before the if branch and drop one level of indentation of the if branch. In addition, move the ret variable at the end of variable declarations to be reverse x-mas tree order. Note that this patch does not incur any functionability change. Signed-off-by: Dongliang Mu <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Acked-by: Toke Høiland-Jørgensen <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions