[2.5 patch] remove KERNEL_VER from ftape.h

Adrian Bunk <[email protected]> Thu, 9 Jan 2003 15:40:17 +0100
Newsgroups gmane.linux.tape,gmane.linux.kernel
Message-ID <[email protected]>
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-tape" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html