From: H Hartley Sweeten Date: Wed, 31 Oct 2012 23:59:30 +0000 (-0700) Subject: staging: comedi: addi-data: remove ERROR and SUCCESS defines X-Git-Tag: firefly_0821_release~3680^2~1519^2~716 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f2f8486e7a215705c18eb07ce6cecb7b32a29eba;p=firefly-linux-kernel-4.4.55.git staging: comedi: addi-data: remove ERROR and SUCCESS defines These are not used. Remove them. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/addi-data/addi_common.h b/drivers/staging/comedi/drivers/addi-data/addi_common.h index 2451a942a9a1..6d8b29f945d5 100644 --- a/drivers/staging/comedi/drivers/addi-data/addi_common.h +++ b/drivers/staging/comedi/drivers/addi-data/addi_common.h @@ -18,9 +18,6 @@ #include #include -#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))