diff --git a/logging.c b/logging.c
index 2582321..4330269 100644
--- a/logging.c
+++ b/logging.c
@@ -13,9 +13,6 @@ int logging = 0;
/* Do we want to silently drop all warnings? */
int quiet = 0;
-/* Number of times warn() has been called */
-int warned = 0;
-
/* Do we want informative messages as well as errors? */
int verbose = 0;
@@ -46,7 +43,6 @@ void message(const char *prefix, const char *fmt, va_list
*arglist)
void warn(const char *fmt, ...)
{
va_list arglist;
- warned++;
va_start(arglist, fmt);
if (!quiet)
message("WARNING: ", fmt, &arglist);
diff --git a/logging.h b/logging.h
index b7227bc..7aa22c9 100644
--- a/logging.h
+++ b/logging.h
@@ -7,9 +7,6 @@ extern int logging;
/* Do we want to silently drop all warnings? */
extern int quiet;
-/* Number of times warn() has been called */
-extern int warned;
-
/* Do we want informative messages as well as errors? */
extern int verbose;
--
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