defaults: use a generic check_kmod() function
authorJoe Holden <jwh@zorins.co.uk>
Fri, 13 Jul 2018 15:44:39 +0000 (16:44 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 7 Aug 2018 20:27:55 +0000 (22:27 +0200)
commit06fa692c80fb2beb69d23d0a2c5cf667aa12f4ad
treeb942d2e38e9bd87e404c2c181ac810d4a775dda6
parent12a7cf9db1f902f359038d9f52851da83c153407
defaults: use a generic check_kmod() function

Rather than having functions for check_offloading() et al, replace it with a
generic function.

Signed-off-by: Joe Holden <jwh@zorins.co.uk>
defaults.c