summaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/ptrace.c
diff options
context:
space:
mode:
authorTony Luck2005-10-29 00:52:13 +0200
committerTony Luck2005-10-29 00:52:13 +0200
commit0e1f60609258e18ec0a0477c646101212822d387 (patch)
tree22f05f9f0f396d19ecffa5cec952cc8fadad802b /arch/ia64/kernel/ptrace.c
parentAuto-update from upstream (diff)
downloadkernel-qcow2-linux-0e1f60609258e18ec0a0477c646101212822d387.tar.gz
kernel-qcow2-linux-0e1f60609258e18ec0a0477c646101212822d387.tar.xz
kernel-qcow2-linux-0e1f60609258e18ec0a0477c646101212822d387.zip
[IA64] fix warning unused variable `g'
4ac0068f44f192f2de95a7bb36df3e19767a45fb forgot to delete the declaration of this variable which is no longer used. Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/ptrace.c')
-rw-r--r--arch/ia64/kernel/ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/ptrace.c b/arch/ia64/kernel/ptrace.c
index 9a9c1bd01dbc..4b19d0410632 100644
--- a/arch/ia64/kernel/ptrace.c
+++ b/arch/ia64/kernel/ptrace.c
@@ -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;