diff options
| author | Andy Shevchenko <[email protected]> | 2016-08-31 19:46:56 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-09-02 15:03:35 +0200 |
| commit | f3bf26326f1cd27b498b44618855512b2f19769b (patch) | |
| tree | 5462de2dfc69f85cc7c95f092a26f75e31307473 /tools/perf/scripts/python/bin | |
| parent | b3965767d86cf4534dfe1affbde0453d3224ed7f (diff) | |
serial: 8250_port: unify check of em485 variable
Unify the check of em485 variable to be either (em485) or (!em485) instead of
the explicit comparison to NULL.
While here, remove redundant check in __do_stop_tx_rs485() and
__stop_tx_rs485() since the functions ain't called with NULL value of em485
variable.
Cc: "Matwey V. Kornilov" <[email protected]>
Tested-by: Yegor Yefremov <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions