public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.5 patch] small cleanup for drivers/scsi/ini9100u.*
@ 2003-01-11 17:05 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2003-01-11 17:05 UTC (permalink / raw)
  To: linux-scsi; +Cc: linux-kernel

The patch below removes some no longer needed #define's from 
drivers/scsi/ini9100u.* .

cu
Adrian


--- linux-2.5.56/drivers/scsi/ini9100u.h.old	2003-01-11 17:57:40.000000000 +0100
+++ linux-2.5.56/drivers/scsi/ini9100u.h	2003-01-11 17:59:31.000000000 +0100
@@ -67,13 +67,6 @@
  *		- Added PCI_ID structure
  **************************************************************************/
 
-#ifndef	CVT_LINUX_VERSION
-#define	CVT_LINUX_VERSION(V,P,S)	(((V) * 65536) + ((P) * 256) + (S))
-#endif
-
-#ifndef	LINUX_VERSION_CODE
-#include <linux/version.h>
-#endif
 #include <linux/types.h>
 
 extern int i91u_detect(Scsi_Host_Template *);
@@ -130,15 +123,6 @@
 #ifndef NULL
 #define NULL     0		/* zero          */
 #endif
-#ifndef TRUE
-#define TRUE     (1)		/* boolean true  */
-#endif
-#ifndef FALSE
-#define FALSE    (0)		/* boolean false */
-#endif
-#ifndef FAILURE
-#define FAILURE  (-1)
-#endif
 
 #define i91u_MAXQUEUE		2
 #define TOTAL_SG_ENTRY		32
--- linux-2.5.56/drivers/scsi/ini9100u.c.old	2003-01-11 17:57:46.000000000 +0100
+++ linux-2.5.56/drivers/scsi/ini9100u.c	2003-01-11 17:59:57.000000000 +0100
@@ -106,14 +106,8 @@
  *		- Changed the assumption that HZ = 100
  **************************************************************************/
 
-#define CVT_LINUX_VERSION(V,P,S)        (V * 65536 + P * 256 + S)
-
 #error Please convert me to Documentation/DMA-mapping.txt
 
-#ifndef LINUX_VERSION_CODE
-#include <linux/version.h>
-#endif
-
 #include <linux/module.h>
 #include <linux/errno.h>
 #include <linux/delay.h>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-11 16:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-11 17:05 [2.5 patch] small cleanup for drivers/scsi/ini9100u.* Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox