From: Dave Reisner Date: Sat, 31 Dec 2011 16:19:55 +0000 (-0500) Subject: libkmod-config: remove warning for skipped config files X-Git-Tag: v3~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9070b117ecef9a53e5224203952fc34256697fb7;p=thirdparty%2Fkmod.git libkmod-config: remove warning for skipped config files conf_files_filter_out() already skips these files, but writes to the log to warn that they'll be ignored in the future. --- diff --git a/libkmod/libkmod-config.c b/libkmod/libkmod-config.c index 2c9fc2bd..fdffa806 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);