aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorPeng Hao <[email protected]>2022-02-22 18:39:54 +0800
committerPaolo Bonzini <[email protected]>2022-02-25 08:20:13 -0500
commit0b8934d3a93ff3b89f7c2dbcc00de88cf5ae0d7e (patch)
tree695fd10b06eeff88478751111b062ac5036f70ab /scripts/gdb/linux/tasks.py
parent105e0c441aa4797e0240d3652ce8e69c6b308cb6 (diff)
KVM: VMX: Remove scratch 'cpu' variable that shadows an identical scratch var
From: Peng Hao <[email protected]> Remove a redundant 'cpu' declaration from inside an if-statement that that shadows an identical declaration at function scope. Both variables are used as scratch variables in for_each_*_cpu() loops, thus there's no harm in sharing a variable. Reviewed-by: Sean Christopherson <[email protected]> Signed-off-by: Peng Hao <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions