Skip to content

Commit

Permalink
staging: comedi: addi-data: remove ERROR and SUCCESS defines
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Nov 1, 2012
1 parent e53b9d6 commit f2f8486
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/staging/comedi/drivers/addi-data/addi_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit f2f8486

Please sign in to comment.