projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea3a6d6
)
tracing: fix warning in kernel/trace/trace.c
author
Ingo Molnar
<mingo@elte.hu>
Fri, 19 Dec 2008 00:03:29 +0000
(
01:03
+0100)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 19 Dec 2008 00:01:25 +0000
(
01:01
+0100)
this warning:
kernel/trace/trace.c: In function ‘print_lat_fmt’:
kernel/trace/trace.c:1826: warning: unused variable ‘state’
Triggers because 'state' has become unused - remove it.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/trace/trace.c
b/kernel/trace/trace.c
index 1a3d6b329782de4587d2bacd544e07fa7cb7f2c8..49fc7201295e23f26bb98853db25c00985f3e28d 100644
(file)
--- a/
kernel/trace/trace.c
+++ b/
kernel/trace/trace.c
@@
-1816,7
+1816,6
@@
print_lat_fmt(struct trace_iterator *iter, unsigned int trace_idx, int cpu)
char *comm;
int S, T;
int i;
- unsigned state;
if (entry->type == TRACE_CONT)
return TRACE_TYPE_HANDLED;