All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: Linus Torvalds <torvalds@transmeta.com>,
	claus@momo.math.rwth-aachen.de, linux-tape@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [2.5 patch] remove KERNEL_VER from ftape.h
Date: Thu, 9 Jan 2003 15:40:17 +0100	[thread overview]
Message-ID: <20030109144016.GV6626@fs.tum.de> (raw)

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>

                 reply	other threads:[~2003-01-09 14:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030109144016.GV6626@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=claus@momo.math.rwth-aachen.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tape@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.