summaryrefslogtreecommitdiffstats
path: root/drivers/net/s2io.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2009-06-04 23:07:59 +0000
committerDavid S. Miller <davem@davemloft.net>2009-06-08 00:20:22 -0700
commitf957bcf0164e45bd77867e02412035e1c2fd7058 (patch)
tree0d853d05de9c1e49ded905aeb0d267ac7dd7ce91 /drivers/net/s2io.h
parentd65a68a8da5c9d1041ebc5e018e677d641910668 (diff)
downloadop-kernel-dev-f957bcf0164e45bd77867e02412035e1c2fd7058.zip
op-kernel-dev-f957bcf0164e45bd77867e02412035e1c2fd7058.tar.gz
s2io: Remove private boolean definitions
Remove the private definition of TRUE/FALSE and use the ones from linux/stddef.h. Also remove the definition of BOOL which is not referenced inside the driver anyway. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/s2io.h')
-rw-r--r--drivers/net/s2io.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h
index 55cb943..d5c5be6 100644
--- a/drivers/net/s2io.h
+++ b/drivers/net/s2io.h
@@ -18,15 +18,6 @@
#define vBIT(val, loc, sz) (((u64)val) << (64-loc-sz))
#define INV(d) ((d&0xff)<<24) | (((d>>8)&0xff)<<16) | (((d>>16)&0xff)<<8)| ((d>>24)&0xff)
-#ifndef BOOL
-#define BOOL int
-#endif
-
-#ifndef TRUE
-#define TRUE 1
-#define FALSE 0
-#endif
-
#undef SUCCESS
#define SUCCESS 0
#define FAILURE -1
OpenPOWER on IntegriCloud