drivers/connector/cn_proc.c: remove unused local
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 26 Jul 2011 00:13:39 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 03:57:17 +0000 (20:57 -0700)
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>
drivers/connector/cn_proc.c

index 281902d3f7ec1a26223140777817b68e4de73688..0debc17c8e2879487e416c6f58fecec30cf6a4ae 100644 (file)
@@ -173,7 +173,6 @@ void proc_ptrace_connector(struct task_struct *task, int ptrace_id)
        struct proc_event *ev;
        struct timespec ts;
        __u8 buffer[CN_PROC_MSG_SIZE];
-       struct task_struct *tracer;
 
        if (atomic_read(&proc_event_num_listeners) < 1)
                return;