PR 238670 - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238670
vm.dmmax size is nothing to do with each of swap device sizes.
Removal of vm.dmmax resulted stale static functions and thus removed together to avoid non-referenced static function call error from compiler.