commit | 248d490363906806e0a2ac8417a8bb3f3f8a012c | [log] [tgz] |
---|---|---|
author | Frans Klaver <fransklaver@gmail.com> | Wed Oct 22 21:12:36 2014 +0200 |
committer | Darren Hart <dvhart@linux.intel.com> | Wed Nov 19 09:07:07 2014 -0800 |
tree | a7f030c7adbdfc6bf95bb8b6a5da86f42ffa63a8 | |
parent | 98280374ff1750acfa582a4575b94f053a29f749 [diff] |
eeepc-laptop: flatten control flow In eeepc_rfkill_hotplug there's an if statement with a big tail that ends right before the out_unlock label. We might as well invert the condition and jump to out_unlock in that case, pretty much like the rest of the code does. This removes an indentation level for a large chunk of code and also stops suggesting there might be an else clause. Signed-off-by: Frans Klaver <fransklaver@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>