diff options
Diffstat (limited to 'kernel/trace/trace_stat.c')
-rw-r--r-- | kernel/trace/trace_stat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace_stat.c b/kernel/trace/trace_stat.c index 5816d1aebcc9..8030ec98dbad 100644 --- a/kernel/trace/trace_stat.c +++ b/kernel/trace/trace_stat.c | |||
@@ -60,8 +60,8 @@ static struct rb_node *release_next(struct rb_node *node) | |||
60 | return node->rb_right; | 60 | return node->rb_right; |
61 | else { | 61 | else { |
62 | if (!parent) | 62 | if (!parent) |
63 | return NULL; | 63 | ; |
64 | if (parent->rb_left == node) | 64 | else if (parent->rb_left == node) |
65 | parent->rb_left = NULL; | 65 | parent->rb_left = NULL; |
66 | else | 66 | else |
67 | parent->rb_right = NULL; | 67 | parent->rb_right = NULL; |