[IA64] fix warning unused variable `g'
authorTony Luck <tony.luck@intel.com>
Fri, 28 Oct 2005 22:52:13 +0000 (15:52 -0700)
committerTony Luck <tony.luck@intel.com>
Fri, 28 Oct 2005 22:52:13 +0000 (15:52 -0700)
4ac0068f44f192f2de95a7bb36df3e19767a45fb forgot to delete
the declaration of this variable which is no longer used.

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/ptrace.c

index 9a9c1bd01dbc53025b221e0496f73ae4a88ae26c..4b19d04106326db6b01cfa3735421d07c27a4190 100644 (file)
@@ -587,7 +587,7 @@ thread_matches (struct task_struct *thread, unsigned long addr)
 static struct task_struct *
 find_thread_for_addr (struct task_struct *child, unsigned long addr)
 {
-       struct task_struct *g, *p;
+       struct task_struct *p;
        struct mm_struct *mm;
        struct list_head *this, *next;
        int mm_users;