[PATCH] Remove mtrr version printk

Diego Calleja García (diegocg@teleline.es)
Mon, 14 Jul 2003 20:37:50 +0200


El Sun, 13 Jul 2003 10:25:43 +0100 Christoph Hellwig <hch@infradead.org> escribió:

> Just rip out the whole printk then. Componentes that are maintained inside
> the kernel tree don't need version numbers.

So I guess this would be right.

diff -puN arch/i386/kernel/cpu/mtrr/main.c~nuke_mtrrver arch/i386/kernel/cpu/mtrr/main.c
--- unsta.moo/arch/i386/kernel/cpu/mtrr/main.c~nuke_mtrrver 2003-07-14 20:29:53.000000000 +0200
+++ unsta.moo-diego/arch/i386/kernel/cpu/mtrr/main.c 2003-07-14 20:34:28.000000000 +0200
@@ -44,8 +44,6 @@
#include <asm/msr.h>
#include "mtrr.h"

-#define MTRR_VERSION "2.0 (20020519)"
-
u32 num_var_ranges = 0;

unsigned int *usage_table;
@@ -677,7 +675,6 @@ static int __init mtrr_init(void)
break;
}
}
- printk("mtrr: v%s\n",MTRR_VERSION);

if (mtrr_if) {
set_num_var_ranges();

_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/