From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Trivial Russell Subject: [TRIVIAL] [2.5 patch] remove unneeded #define LinuxVersionCode from eata.c (fwd) Date: Tue, 01 Apr 2003 10:16:04 +1000 Sender: linux-scsi-owner@vger.kernel.org Message-ID: <20030401012721.5F2152C5CF@lists.samba.org> Return-path: List-Id: linux-scsi@vger.kernel.org To: Dario Ballabio , linux-scsi@vger.kernel.org From: Adrian Bunk Hi Linus, the trivial patch in the mail below still applies against and compiles under 2.5.63. Please apply Adrian ----- Forwarded message from Adrian Bunk ----- Date: Sun, 12 Jan 2003 09:42:53 +0100 From: Adrian Bunk To: ballabio_dario@emc.com Subject: [2.5 patch] remove unneeded #define LinuxVersionCode from eata.c Hi Dario, the patch below removes the unneeded #define LinuxVersionCode from eata.c. It's not used and if it was needed KERNEL_VERSION in include/linux/version.h does the same. I've tested the compilation with 2.5.56. Please apply Adrian --- trivial-2.5.66-bk6/drivers/scsi/eata.c.orig 2003-04-01 09:55:27.000000000 +1000 +++ trivial-2.5.66-bk6/drivers/scsi/eata.c 2003-04-01 09:55:27.000000000 +1000 @@ -449,10 +449,6 @@ #include -#ifndef LinuxVersionCode -#define LinuxVersionCode(v, p, s) (((v)<<16)+((p)<<8)+(s)) -#endif - #define MAX_INT_PARAM 10 #if defined(MODULE) -- Don't blame me: the Monkey is driving File: Adrian Bunk : [2.5 patch] remove unneeded #define LinuxVersionCode from eata.c (fwd)