diff options
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/trace/ftrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index dcd3a814d39b..a383d6c67bfa 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c | |||
| @@ -1381,7 +1381,7 @@ static void __ftrace_hash_rec_update(struct ftrace_ops *ops, | |||
| 1381 | * If the notrace hash has no items, | 1381 | * If the notrace hash has no items, |
| 1382 | * then there's nothing to do. | 1382 | * then there's nothing to do. |
| 1383 | */ | 1383 | */ |
| 1384 | if (hash && !hash->count) | 1384 | if (!hash || !hash->count) |
| 1385 | return; | 1385 | return; |
| 1386 | } | 1386 | } |
| 1387 | 1387 | ||
