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: Mon, 26 May 2003 16:30:15 +1000 Sender: linux-scsi-owner@vger.kernel.org Message-ID: <20030526064901.247762C283@lists.samba.org> Return-path: Received: from dp.samba.org ([66.70.73.150]:145 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id S264300AbTEZGft (ORCPT ); Mon, 26 May 2003 02:35:49 -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-bk18/drivers/scsi/eata.c.orig 2003-05-26 16:17:22.000000000 +1000 +++ trivial-2.5.69-bk18/drivers/scsi/eata.c 2003-05-26 16:17:22.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)