commit | 2cb941c0474e3037e9ad4ee219d4c848ad519ac0 | [log] [tgz] |
---|---|---|
author | Arend van Spriel <arend@broadcom.com> | Mon Nov 05 16:22:10 2012 -0800 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Nov 14 14:55:42 2012 -0500 |
tree | c292a9b5ef62088c1f29493e3ff1483bf13e6b7a | |
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 <meuleman@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Franky Lin <frankyl@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>