commit 033bbf9ecbc341389715a9ecfd913cc554f36b7b
Author: Tomohiro Kusumi <[email protected]>
Date: Sun Oct 11 22:09:34 2015 +0900
sys/dev/disk/dm: Refactor dmioctl()
Get rid of if-nest and goto.
This function can be implemented without if-nest and goto,
and this is way easier to understand without lots of comments.
Summary of changes:
sys/dev/disk/dm/device-mapper.c | 40 +++++++++++++++-------------------------
1 file changed, 15 insertions(+), 25 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/033bbf9ecbc341389715a9ecfd913cc554f36b7b
--
DragonFly BSD source repository