diff options
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r-- | kernel/trace/trace.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 9197782d15c9..fd4ecc292005 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -2231,8 +2231,6 @@ tracing_read_pipe(struct file *filp, char __user *ubuf, | |||
2231 | start = 0; | 2231 | start = 0; |
2232 | 2232 | ||
2233 | while (trace_empty(iter)) { | 2233 | while (trace_empty(iter)) { |
2234 | if (!(trace_flags & TRACE_ITER_BLOCK)) | ||
2235 | return -EWOULDBLOCK; | ||
2236 | /* | 2234 | /* |
2237 | * This is a make-shift waitqueue. The reason we don't use | 2235 | * This is a make-shift waitqueue. The reason we don't use |
2238 | * an actual wait queue is because: | 2236 | * an actual wait queue is because: |