From: Rusty Trivial Russell Subject: [TRIVIAL] [2.5 patch] remove unneeded #define LinuxVersionCode from eata.c (fwd) Date: Mon, 05 May 2003 14:48:58 +1000 Sender: linux-scsi-owner@vger.kernel.org Message-ID: <20030505050415.7E4AB2C2A0@lists.samba.org> Return-path: Received: from dp.samba.org ([66.70.73.150]:32979 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id S261928AbTEEEvp (ORCPT ); Mon, 5 May 2003 00:51:45 -0400 List-Id: linux-scsi@vger.kernel.org To: Linus Torvalds Cc: 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.69/drivers/scsi/eata.c.orig 2003-05-05 14:46:14.000000000 +1000 +++ trivial-2.5.69/drivers/scsi/eata.c 2003-05-05 14:46:14.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) -- What is this? http://www.kernel.org/pub/linux/kernel/people/rusty/trivial/ Don't blame me: the Monkey is driving File: Adrian Bunk : [2.5 patch] remove unneeded #define LinuxVersionCode from eata.c (fwd)