* [PATCH] drivers:connector:remove an unused variable *tracer*
@ 2011-07-24 3:06 Wanlong Gao
2011-07-25 23:16 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Wanlong Gao @ 2011-07-24 3:06 UTC (permalink / raw)
To: zbr, Jiri Kosina; +Cc: netdev, linux-kernel, Wanlong Gao
From: Wanlong Gao <gaowanlong@cn.fujitsu.com>
The variable 'tracer' never be used, so remove it.
Added by f701e5b73a1a79ea62ffd45d9e2bed4c7d5c1fd2.
Signed-off-by: Wanlong Gao <gaowanlong@cn.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drivers:connector:remove an unused variable *tracer*
2011-07-24 3:06 [PATCH] drivers:connector:remove an unused variable *tracer* Wanlong Gao
@ 2011-07-25 23:16 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-07-25 23:16 UTC (permalink / raw)
To: wanlong.gao; +Cc: zbr, jkosina, netdev, linux-kernel, gaowanlong
From: Wanlong Gao <wanlong.gao@gmail.com>
Date: Sun, 24 Jul 2011 11:06:29 +0800
> From: Wanlong Gao <gaowanlong@cn.fujitsu.com>
>
> The variable 'tracer' never be used, so remove it.
> Added by f701e5b73a1a79ea62ffd45d9e2bed4c7d5c1fd2.
>
> Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-25 23:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-24 3:06 [PATCH] drivers:connector:remove an unused variable *tracer* Wanlong Gao
2011-07-25 23:16 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).