diff options
| author | Jiri Slaby <[email protected]> | 2020-02-19 09:41:02 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-02-21 10:24:33 +0100 |
| commit | 5f2895143d5e18641bcbdea70029d17cd5650201 (patch) | |
| tree | 64d988d9b020e248c50997db7ea91ff0a94bcd9f /tools/perf/scripts/python | |
| parent | 30fafd92c272d238efe781a5daeaa4af2824067a (diff) | |
n_hdlc: invert conditions in n_hdlc_tty_close and n_hdlc_tty_poll
This makes the functions return immediatelly on invalid state. And we
can push the indent of the later code one level left.
Pass "-w" to "git show" to see we are changing only the conditions (and
whitespace).
Signed-off-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions