Skip to contentSkip to conversation

remove unneeded #define LinuxVersionCode from eata.c (fwd)

PATCH New Rusty Trivial Russell 1 participant 1 message Apr 1, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove unneeded #define LinuxVersionCode from eata.c (fwd)

From: Adrian Bunk <[email protected]>

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 <[email protected]> -----

Date: Sun, 12 Jan 2003 09:42:53 +0100
From: Adrian Bunk <[email protected]>
To: [email protected]
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

drivers/scsi/eata.c renamed from drivers/scsi/eata.c.orig +0 -4
@@ -449,10 +449,6 @@
 
 #include <linux/version.h>
 
-#ifndef LinuxVersionCode
-#define LinuxVersionCode(v, p, s) (((v)<<16)+((p)<<8)+(s))
-#endif
-
 #define MAX_INT_PARAM 10
 
 #if defined(MODULE)
Signature · 2 lines
  Don't blame me: the Monkey is driving
  File: Adrian Bunk <[email protected]>: [2.5 patch] remove unneeded #define LinuxVersionCode from eata.c (fwd)