diff options
| author | Dan Carpenter <[email protected]> | 2015-03-23 17:08:14 +0300 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2015-03-30 10:40:03 +0200 |
| commit | 45fd63293a214c48d6d3856bb39cf207a805dfda (patch) | |
| tree | 95ac3231e1712190dfc607114546093827046f65 /tools/perf/scripts/python/netdev-times.py | |
| parent | 82ca6ef686f0fcefe2c1ad4ab74d5caf41be03a9 (diff) | |
mac80111: aes_ccm: cleanup ieee80211_aes_key_setup_encrypt()
This code is written using an anti-pattern called "success handling"
which makes it hard to read, especially if you are used to normal kernel
style. It should instead be written as a list of directives in a row
with branches for error handling.
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions