sys/dev/disk/dm: Fix/refactor alloc/free functions [1/6]
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Tue, 10 Nov 2015 11:02:49 +0000 (20:02 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 12 Nov 2015 14:33:49 +0000 (23:33 +0900)
commit733c17c34fde7821192509db93132eda7e6a714a
tree3f28cbb7b813c94f85f4af96b272f37ea78c8010
parent8853f20f5539835420ca95d580214551199007d0
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.
sys/dev/disk/dm/dm.h
sys/dev/disk/dm/dm_dev.c
sys/dev/disk/dm/dm_ioctl.c