git: kernel/vmm: Untangle a too deeply nested if/else.
Sascha Wildner
swildner at crater.dragonflybsd.org
Mon Aug 17 11:44:08 PDT 2015
commit 708e57b3257251b7d26327d993dd03ceec553978
Author: Sascha Wildner <saw at online.de>
Date: Mon Aug 17 19:23:18 2015 +0200
kernel/vmm: Untangle a too deeply nested if/else.
Get rid of if/goto/else cases. Check errors first and return early where
possible.
Summary of changes:
sys/platform/pc64/vmm/vmm_utils.c | 101 +++++++++++++++++++-------------------
1 file changed, 51 insertions(+), 50 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/708e57b3257251b7d26327d993dd03ceec553978
--
DragonFly BSD source repository
More information about the Commits
mailing list