conf_files_filter_out() already skips these files, but writes to the log
to warn that they'll be ignored in the future.
---
 libkmod/libkmod-config.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/libkmod/libkmod-config.c b/libkmod/libkmod-config.c
index 2c9fc2b..fdffa80 100644
--- a/libkmod/libkmod-config.c
+++ b/libkmod/libkmod-config.c
@@ -620,12 +620,8 @@ static bool conf_files_filter_out(struct kmod_ctx *ctx, 
DIR *d,
                return true;
 
        if (len < 6 || (!streq(&fn[len - 5], ".conf")
-                               && !streq(&fn[len - 6], ".alias"))) {
-               INFO(ctx, "All config files need .conf: %s/%s, "
-                               "it will be ignored in a future release\n",
-                               path, fn);
+                               && !streq(&fn[len - 6], ".alias")))
                return true;
-       }
 
        fstatat(dirfd(d), fn, &st, 0);
 
-- 
1.7.8.1

--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to