diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2011-07-25 20:13:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-25 23:57:17 -0400 |
commit | f19da2ce8ef5e49b8b8ea199c3601dd45d71b262 (patch) | |
tree | a4c273a088ad429373f40408d587cf9c2797eb26 /drivers/connector/cn_proc.c | |
parent | df2694d80a84fb0b61ce9fa31353eb9c5f36ad36 (diff) |
drivers/connector/cn_proc.c: remove unused local
Fix the warning
drivers/connector/cn_proc.c: In function 'proc_ptrace_connector':
drivers/connector/cn_proc.c:176: warning: unused variable 'tracer'
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/connector/cn_proc.c')
-rw-r--r-- | drivers/connector/cn_proc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/connector/cn_proc.c b/drivers/connector/cn_proc.c index 281902d3f7ec..0debc17c8e28 100644 --- a/drivers/connector/cn_proc.c +++ b/drivers/connector/cn_proc.c | |||
@@ -173,7 +173,6 @@ void proc_ptrace_connector(struct task_struct *task, int ptrace_id) | |||
173 | struct proc_event *ev; | 173 | struct proc_event *ev; |
174 | struct timespec ts; | 174 | struct timespec ts; |
175 | __u8 buffer[CN_PROC_MSG_SIZE]; | 175 | __u8 buffer[CN_PROC_MSG_SIZE]; |
176 | struct task_struct *tracer; | ||
177 | 176 | ||
178 | if (atomic_read(&proc_event_num_listeners) < 1) | 177 | if (atomic_read(&proc_event_num_listeners) < 1) |
179 | return; | 178 | return; |