aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWanlong Gao <gaowanlong@cn.fujitsu.com>2011-07-23 13:06:29 -0400
committerDavid S. Miller <davem@davemloft.net>2011-07-25 19:16:00 -0400
commit5ec9e63c1c90074d2986f1102acbd1572eb827af (patch)
tree6197aed820bd97ad52c48104515a9604351acdcf
parent427e21faee1877053828b115bbb336c289562ac5 (diff)
drivers:connector:remove an unused variable *tracer*
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>
-rw-r--r--drivers/connector/cn_proc.c1
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;