projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df2694d
)
drivers/connector/cn_proc.c: remove unused local
author
Andrew Morton
<akpm@linux-foundation.org>
Tue, 26 Jul 2011 00:13:39 +0000
(17:13 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 26 Jul 2011 03:57:17 +0000
(20:57 -0700)
Fix the warning
drivers/connector/cn_proc.c: In function 'proc_ptrace_connector':
drivers/connector/cn_proc.c:176: warning: unused variable 'tracer'
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/connector/cn_proc.c
patch
|
blob
|
history
diff --git
a/drivers/connector/cn_proc.c
b/drivers/connector/cn_proc.c
index 281902d3f7ec1a26223140777817b68e4de73688..0debc17c8e2879487e416c6f58fecec30cf6a4ae 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;