9afea99189
Refactored to use function, moved another function Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
Refactored to use function, moved another function Signed-off-by: Kristian Feldsam <feldsam@gmail.com>