[2.5 patch] remove KERNEL_VER from ftape.h

Adrian Bunk (bunk@fs.tum.de)
Thu, 9 Jan 2003 15:40:17 +0100


My patch that removed kernel 2.0 conpatibility code from
drivers/char/ftape/* included in 2.5.55 removed all usages of KERNEL_VER
but it is still #define'd in ftape.h.

The patch below removes this no longer needed #define.

I've tested the compilation with 2.5.55.

cu
Adrian

--- linux-2.5.55/include/linux/ftape.h.old 2003-01-09 15:27:41.000000000 +0100
+++ linux-2.5.55/include/linux/ftape.h 2003-01-09 15:34:46.000000000 +0100
@@ -30,9 +30,6 @@

#define FTAPE_VERSION "ftape v3.04d 25/11/97"

-/* this makes the Kernel version numbers readable */
-#define KERNEL_VER(major,minor,sublvl) (((major)<<16)+((minor)<<8)+(sublvl))
-
#ifdef __KERNEL__
#include <linux/interrupt.h>
#include <linux/mm.h>
-
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/