From: maximilian attems <janitor@sternwelten.at>
To: garloff@suse.de
Cc: linux-scsi@vger.kernel.org
Subject: [patch-kj] remove old ifdef'd code from
Date: Mon, 21 Jun 2004 20:29:18 +0200 [thread overview]
Message-ID: <20040621182918.GX1545@sputnik.stro.at> (raw)
From: Domen Puncer <domen@coderock.org>
Patches to remove some old ifdefs.
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
---
linux-2.6.7-max/drivers/scsi/dc390.h | 7 +------
1 files changed, 1 insertion(+), 6 deletions(-)
diff -puN drivers/scsi/dc390.h~remove-old-ifdefs-dc390 drivers/scsi/dc390.h
--- linux-2.6.7/drivers/scsi/dc390.h~remove-old-ifdefs-dc390 2004-06-18 09:14:56.000000000 +0200
+++ linux-2.6.7-max/drivers/scsi/dc390.h 2004-06-18 09:14:56.000000000 +0200
@@ -13,11 +13,6 @@
#ifndef DC390_H
#define DC390_H
-#include <linux/version.h>
-#ifndef KERNEL_VERSION
-# define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
-#endif
-
#define DC390_BANNER "Tekram DC390/AM53C974"
#define DC390_VERSION "2.1b 2004-04-13"
@@ -26,7 +21,7 @@
* So long: Use old exception handling :-( */
#define OLD_EH
-#if LINUX_VERSION_CODE < KERNEL_VERSION (2,1,70) || defined (OLD_EH)
+#ifdef OLD_EH
# define NEW_EH
#else
# define NEW_EH use_new_eh_code: 1,
_
next reply other threads:[~2004-06-21 18:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-21 18:29 maximilian attems [this message]
2004-06-21 18:31 ` [patch-kj] remove old ifdef'd code from Christoph Hellwig
2004-06-22 8:44 ` maximilian attems
2004-06-22 8:47 ` Christoph Hellwig
2004-06-22 14:19 ` maximilian attems
-- strict thread matches above, loose matches on Subject: below --
2004-06-21 18:03 maximilian attems
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=20040621182918.GX1545@sputnik.stro.at \
--to=janitor@sternwelten.at \
--cc=garloff@suse.de \
--cc=linux-scsi@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox