Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scripts/gdb: remove useless global instruction

Signed-off-by: Thiébaud Weksteen <thiebaud@weksteen.fr>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Thiébaud Weksteen and committed by
Linus Torvalds
15f1d827 a930850b

-2
-2
scripts/gdb/linux/tasks.py
··· 20 20 21 21 22 22 def task_lists(): 23 - global task_type 24 23 task_ptr_type = task_type.get_type().pointer() 25 24 init_task = gdb.parse_and_eval("init_task").address 26 25 t = g = init_task ··· 88 89 89 90 90 91 def get_thread_info(task): 91 - global thread_info_type 92 92 thread_info_ptr_type = thread_info_type.get_type().pointer() 93 93 if utils.is_target_arch("ia64"): 94 94 global ia64_task_size