diff options
author | M. Vefa Bicakci <[email protected]> | 2015-03-28 21:07:48 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2015-04-03 15:25:45 +0200 |
commit | c3cc7593ecaf1c2b84e36fccccd81b6d3a8dd104 (patch) | |
tree | 538498e6b8e76921468ac398fb67df91bfce26fe /lib/cpu-notifier-error-inject.c | |
parent | a2390239582fbb16564bed93e37ca4cf8d219c79 (diff) |
staging: rtl8723au: Reorganize a few functions to remove indentation
Prior to this commit, functions rtw_tkip_encrypt23a and rtw_tkip_decrypt23a had
large if blocks which contained the majority of the logic in the functions.
Rework these functions so that if the negated version of the aforementioned if
blocks' conditions are true, we return from the function with _FAIL, as
expected by the calling code.
This lets us remove two levels of indentation from the functions in
question, making them more readable.
Signed-off-by: M. Vefa Bicakci <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions