[PATCH] libkmod-config: remove warning for skipped config files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux