[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1311476789-3858-1-git-send-email-wanlong.gao@gmail.com>
Date: Sun, 24 Jul 2011 11:06:29 +0800
From: Wanlong Gao <wanlong.gao@...il.com>
To: zbr@...emap.net, Jiri Kosina <jkosina@...e.cz>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Wanlong Gao <gaowanlong@...fujitsu.com>
Subject: [PATCH] drivers:connector:remove an unused variable *tracer*
From: Wanlong Gao <gaowanlong@...fujitsu.com>
The variable 'tracer' never be used, so remove it.
Added by f701e5b73a1a79ea62ffd45d9e2bed4c7d5c1fd2.
Signed-off-by: Wanlong Gao <gaowanlong@...fujitsu.com>
---
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 281902d..0debc17 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;
--
1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists