diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2009-06-04 19:07:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-08 03:20:22 -0400 |
commit | f957bcf0164e45bd77867e02412035e1c2fd7058 (patch) | |
tree | 0d853d05de9c1e49ded905aeb0d267ac7dd7ce91 /drivers/net/s2io.h | |
parent | d65a68a8da5c9d1041ebc5e018e677d641910668 (diff) |
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.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h index 55cb943f23f8..d5c5be6c07b9 100644 --- a/drivers/net/s2io.h +++ b/drivers/net/s2io.h | |||
@@ -18,15 +18,6 @@ | |||
18 | #define vBIT(val, loc, sz) (((u64)val) << (64-loc-sz)) | 18 | #define vBIT(val, loc, sz) (((u64)val) << (64-loc-sz)) |
19 | #define INV(d) ((d&0xff)<<24) | (((d>>8)&0xff)<<16) | (((d>>16)&0xff)<<8)| ((d>>24)&0xff) | 19 | #define INV(d) ((d&0xff)<<24) | (((d>>8)&0xff)<<16) | (((d>>16)&0xff)<<8)| ((d>>24)&0xff) |
20 | 20 | ||
21 | #ifndef BOOL | ||
22 | #define BOOL int | ||
23 | #endif | ||
24 | |||
25 | #ifndef TRUE | ||
26 | #define TRUE 1 | ||
27 | #define FALSE 0 | ||
28 | #endif | ||
29 | |||
30 | #undef SUCCESS | 21 | #undef SUCCESS |
31 | #define SUCCESS 0 | 22 | #define SUCCESS 0 |
32 | #define FAILURE -1 | 23 | #define FAILURE -1 |