diff options
| author | Sergio Paracuellos <[email protected]> | 2018-04-23 15:44:49 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-04-25 15:47:23 +0200 |
| commit | 81dac3c2c939a451a5b1c81e7defadf6e2b090ed (patch) | |
| tree | 1175e3cab57d939bcd8b2a83b66dff45797073cc /tools/perf/scripts/python | |
| parent | d892cc1cfe0c1ce4e4eb58a1877835802953adac (diff) | |
staging: ks7010: avoid one level indentation in devio_rec_ind function
This commit changes logic to handle with the status of the device
at first checking for close state to return directly instead
of just do the stuff when device is open. This improves readability
avoiding one level indentation.
Signed-off-by: Sergio Paracuellos <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions