From: Wanlong Gao Date: Sat, 23 Jul 2011 17:06:29 +0000 (+0000) Subject: drivers:connector:remove an unused variable *tracer* X-Git-Tag: Ubuntu-5.0.0-8.9~18048^2~25 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=5ec9e63c1c90074d2986f1102acbd1572eb827af;p=mirror_ubuntu-disco-kernel.git drivers:connector:remove an unused variable *tracer* The variable 'tracer' never be used, so remove it. Added by f701e5b73a1a79ea62ffd45d9e2bed4c7d5c1fd2. Signed-off-by: Wanlong Gao Signed-off-by: David S. Miller --- 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) 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;