Commit fdfa49a
tty: n_tty: simplify process_output()
Using guard(mutex), the function can be written in a much more efficient
way.
Signed-off-by: Jiri Slaby (SUSE) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent d97aa06 commit fdfa49a
1 file changed
+4
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
491 | | - | |
492 | | - | |
493 | 491 | | |
494 | | - | |
| 492 | + | |
495 | 493 | | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
| 494 | + | |
501 | 495 | | |
502 | | - | |
503 | | - | |
| 496 | + | |
| 497 | + | |
504 | 498 | | |
505 | 499 | | |
506 | 500 | | |
| |||
0 commit comments