diff options
| author | Colin Ian King <[email protected]> | 2015-01-13 14:07:34 +0000 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2015-01-23 19:30:45 +0200 |
| commit | 59b23ebd7fd0af3facd174e96ee4dbc1494fa215 (patch) | |
| tree | 9677ec55a708b344cab994b97cffb55a8fc7a5f7 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 3a939a671225909c19b09bfcb6e4761109e913d9 (diff) | |
rtlwifi/rtl8192de: remove redundant else if check
The else if check condition checks for the opposite of the
if check, hence the else if check is redundant and can be
replaced with a simple else:
if (rtlpriv->rtlhal.macphymode == SINGLEMAC_SINGLEPHY) {
..
} else if (rtlpriv->rtlhal.macphymode != SINGLEMAC_SINGLEPHY) {
..
}
replaced with:
if (rtlpriv->rtlhal.macphymode == SINGLEMAC_SINGLEPHY) {
..
} else {
..
}
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Larry Finger <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions