Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756452AbbEVF6k (ORCPT ); Fri, 22 May 2015 01:58:40 -0400 Received: from thoth.sbs.de ([192.35.17.2]:57669 "EHLO thoth.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755960AbbEVF6Y (ORCPT ); Fri, 22 May 2015 01:58:24 -0400 From: Jan Kiszka To: Andrew Morton Cc: linux-kernel@vger.kernel.org, =?UTF-8?q?Thi=C3=A9baud=20Weksteen?= Subject: [PATCH 7/7] scripts/gdb: Remove useless global instruction Date: Fri, 22 May 2015 07:58:17 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1132 Lines: 36 From: ThiƩbaud Weksteen Signed-off-by: ThiƩbaud Weksteen Signed-off-by: Jan Kiszka --- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/