Message ID | 20230213144742.839768052@linuxfoundation.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | None | expand |
--- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -9144,9 +9144,6 @@ buffer_percent_write(struct file *filp, if (val > 100) return -EINVAL; - if (!val) - val = 1; - tr->buffer_percent = val; (*ppos)++;