projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
427e21f
)
drivers:connector:remove an unused variable *tracer*
author
Wanlong Gao
<gaowanlong@cn.fujitsu.com>
Sat, 23 Jul 2011 17:06:29 +0000
(17:06 +0000)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/connector/cn_proc.c
b/drivers/connector/cn_proc.c
index
281902d
..
0debc17
100644
(file)
--- 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;