summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorThiƩbaud Weksteen <thiebaud@weksteen.fr>2015-06-30 14:58:24 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-06-30 19:44:58 -0700
commit15f1d827810e085496eb7ae82aa3ed2dba9901cc (patch)
treec430afb3a195abce367091a9874777bbb6e43726 /scripts
parenta930850b628497601309513dc894ea23218a19fa (diff)
downloadlinux-15f1d827810e085496eb7ae82aa3ed2dba9901cc.tar.gz
linux-15f1d827810e085496eb7ae82aa3ed2dba9901cc.tar.bz2
linux-15f1d827810e085496eb7ae82aa3ed2dba9901cc.zip
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/gdb/linux/tasks.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/gdb/linux/tasks.py b/scripts/gdb/linux/tasks.py
index 3191f4792398..862a4ae24d49 100644
--- a/scripts/gdb/linux/tasks.py
+++ b/scripts/gdb/linux/tasks.py
@@ -20,7 +20,6 @@ task_type = utils.CachedType("struct task_struct")
def task_lists():
- global task_type
task_ptr_type = task_type.get_type().pointer()
init_task = gdb.parse_and_eval("init_task").address
t = g = init_task
@@ -89,7 +88,6 @@ ia64_task_size = None
def get_thread_info(task):
- global thread_info_type
thread_info_ptr_type = thread_info_type.get_type().pointer()
if utils.is_target_arch("ia64"):
global ia64_task_size