From 9070b117ecef9a53e5224203952fc34256697fb7 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 31 Dec 2011 11:19:55 -0500 Subject: [PATCH] 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. --- libkmod/libkmod-config.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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); -- 2.47.2