+14
−12
Loading
Currently there is duplicate code when checking the architecture type.
We can remove the duplication by implementing a wrapper function
is_arch().
Implement and use wrapper function is_arch().
Signed-off-by:
Tobin C. Harding <me@tobin.cc>