]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
libkmod-config: remove warning for skipped config files
authorDave Reisner <d@falconindy.com>
Sat, 31 Dec 2011 16:19:55 +0000 (11:19 -0500)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Sat, 31 Dec 2011 21:30:26 +0000 (19:30 -0200)
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

index 2c9fc2bd1fdc1580730e5b2e6a7ecb96d3b0cd0d..fdffa8060b2425eac29ad740cea1babb44357f8f 100644 (file)
@@ -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);