]> git.ipfire.org Git - thirdparty/kmod.git/commit - libkmod/libkmod.c
Simplify kmod_load_resources()
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 14 Dec 2011 05:58:31 +0000 (03:58 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 14 Dec 2011 12:53:10 +0000 (10:53 -0200)
commit6de8f6e9664b97c69816a364e461c1a5cc54e274
tree7d72e187dcf64ee0e95a69a5349c0a40c2f84a3e
parent3e67676617e6dc70510011f4bf004a1230b66318
Simplify kmod_load_resources()

We have a static vector of indexes. There's no need to check if they
have a suffix or if they are absolute, we just already know in advance
and there are no plans to change it.
libkmod/libkmod.c