drivers:connector:remove an unused variable *tracer*
authorWanlong Gao <gaowanlong@cn.fujitsu.com>
Sat, 23 Jul 2011 17:06:29 +0000 (17:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jul 2011 23:16:00 +0000 (16:16 -0700)
The variable 'tracer' never be used, so remove it.
Added by f701e5b73a1a79ea62ffd45d9e2bed4c7d5c1fd2.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
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;