staging: comedi: addi-data: remove unused defines in addi_common.h
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 18 Jun 2013 19:14:36 +0000 (12:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Jun 2013 16:45:56 +0000 (09:45 -0700)
Due to the on-going cleanup of the addi-data drivers, there are a
number of unused defines in addi_common.h. Remove the cruft.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: 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 b03be13a1068d22c93c608ac890559e53a18f6ae..14726567b1e85e0084bc2a7a98f007f40b180e15 100644 (file)
 #include <linux/sched.h>
 #include <linux/interrupt.h>
 
-#define LOBYTE(W)      (unsigned char)((W) & 0xFF)
-#define HIBYTE(W)      (unsigned char)(((W) >> 8) & 0xFF)
-#define MAKEWORD(H, L) (unsigned short)((L) | ((H) << 8))
 #define LOWORD(W)      (unsigned short)((W) & 0xFFFF)
 #define HIWORD(W)      (unsigned short)(((W) >> 16) & 0xFFFF)
-#define MAKEDWORD(H, L)        (unsigned int)((L) | ((H) << 16))
 
 #define ADDI_ENABLE            1
 #define ADDI_DISABLE           0
@@ -33,7 +29,6 @@
 #define ADDIDATA_NO_EEPROM     0
 #define ADDIDATA_93C76         "93C76"
 #define ADDIDATA_S5920         "S5920"
-#define ADDIDATA_S5933         "S5933"
 
 /* ADDIDATA Enable Disable */
 #define ADDIDATA_ENABLE                1