diff options
| author | Arend van Spriel <[email protected]> | 2012-11-05 16:22:10 -0800 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2012-11-14 14:55:42 -0500 |
| commit | 2cb941c0474e3037e9ad4ee219d4c848ad519ac0 (patch) | |
| tree | c292a9b5ef62088c1f29493e3ff1483bf13e6b7a /tools/perf/scripts/python/netdev-times.py | |
| parent | 3d3726d25635a63764c4f324176873124f8a02b6 (diff) | |
brcmfmac: simplify if-else condition in brcmf_cfg80211_escan()
Code flow was:
err = foo();
if (!err)
return err;
else
goto exit;
return 0;
Changed it to just to exit label if err is non-zero.
Reviewed-by: Hante Meuleman <[email protected]>
Reviewed-by: Pieter-Paul Giesberts <[email protected]>
Signed-off-by: Arend van Spriel <[email protected]>
Signed-off-by: Franky Lin <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions