[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <bc2074ef4352b23596816af38d2e980848d0ac86.1432274297.git.jan.kiszka@siemens.com>
Date: Fri, 22 May 2015 07:58:17 +0200
From: Jan Kiszka <jan.kiszka@...mens.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org,
Thiébaud Weksteen <thiebaud@...steen.fr>
Subject: [PATCH 7/7] scripts/gdb: Remove useless global instruction
From: Thiébaud Weksteen <thiebaud@...steen.fr>
Signed-off-by: Thiébaud Weksteen <thiebaud@...steen.fr>
Signed-off-by: Jan Kiszka <jan.kiszka@...mens.com>
---
scripts/gdb/linux/tasks.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/scripts/gdb/linux/tasks.py b/scripts/gdb/linux/tasks.py
index 3191f47..862a4ae 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
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists