]> git.ipfire.org Git - thirdparty/mdadm.git/commit - util.c
util/set_array_info: Simplify code since md_get_version returns a constant
authorJes Sorensen <Jes.Sorensen@gmail.com>
Wed, 5 Apr 2017 19:06:24 +0000 (15:06 -0400)
committerJes Sorensen <Jes.Sorensen@gmail.com>
Wed, 5 Apr 2017 19:06:24 +0000 (15:06 -0400)
commit700483a22340f2f25a761acd08e6db87e92d90e9
tree57f2028d937be51fdf9ebc42d04582614e75440c
parentf5c924f441cedce2a13c48b12be35250560ee575
util/set_array_info: Simplify code since md_get_version returns a constant

md_get_version() always returns (0 * 1000) + (90 * 100) + 3, so no
point in calling it.

Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com>
util.c