diff options
author | avos <avos@FreeBSD.org> | 2016-01-04 21:11:27 +0000 |
---|---|---|
committer | avos <avos@FreeBSD.org> | 2016-01-04 21:11:27 +0000 |
commit | eaee2d469974234575e079f8fb993dc953c4f94b (patch) | |
tree | 5b42ed0054380c4ee5c1788c12459ecf9bbd868b /contrib/llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp | |
parent | 39c32841aed0a19d23a00e5547defaae9a39dafd (diff) | |
download | FreeBSD-src-eaee2d469974234575e079f8fb993dc953c4f94b.zip FreeBSD-src-eaee2d469974234575e079f8fb993dc953c4f94b.tar.gz |
iwn: reduce code duplication in iwn_read_firmware()
- Separate 'firmware_put(sc->fw_fp, FIRMWARE_UNLOAD); sc->fw_fp = NULL;'
into iwn_unload_firmware().
- Move error handling to the end of iwn_read_firmware().
No functional changes.
Approved by: adrian (mentor)
Differential Revision: https://reviews.freebsd.org/D4768
Diffstat (limited to 'contrib/llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp')
0 files changed, 0 insertions, 0 deletions