staging: comedi: addi-data: remove ERROR and SUCCESS defines
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 31 Oct 2012 23:59:30 +0000 (16:59 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Nov 2012 15:43:26 +0000 (08:43 -0700)
These are not used. Remove them.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi-data/addi_common.h

index 2451a942a9a1cb8fcb077d86941aa7b2f65375b0..6d8b29f945d5b7a1dd77be99fe3bcfb6ebe317bd 100644 (file)
@@ -18,9 +18,6 @@
 #include <linux/sched.h>
 #include <linux/interrupt.h>
 
-#define ERROR  -1
-#define SUCCESS        1
-
 #define LOBYTE(W)      (unsigned char)((W) & 0xFF)
 #define HIBYTE(W)      (unsigned char)(((W) >> 8) & 0xFF)
 #define MAKEWORD(H, L) (unsigned short)((L) | ((H) << 8))