git: sys/dev/disk/dm: Fix/refactor alloc/free functions [1/6]
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Thu Nov 12 07:09:35 PST 2015
commit 733c17c34fde7821192509db93132eda7e6a714a
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Tue Nov 10 20:02:49 2015 +0900
sys/dev/disk/dm: Fix/refactor alloc/free functions [1/6]
There are way too many functions with similar names that do
something related to removing and/or freeing dm device.
dm_dev_rem_dev() doesn't need to be a function so get rid of it.
dm_dev_destroy() can be a static function.
Summary of changes:
sys/dev/disk/dm/dm.h | 2 --
sys/dev/disk/dm/dm_dev.c | 21 +++++----------------
sys/dev/disk/dm/dm_ioctl.c | 4 ----
3 files changed, 5 insertions(+), 22 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/733c17c34fde7821192509db93132eda7e6a714a
--
DragonFly BSD source repository
More information about the Commits
mailing list