staging: comedi: amplc_pci230: remove PCI230_TEST_BIT()
authorIan Abbott <abbotti@mev.co.uk>
Tue, 29 Jul 2014 11:58:17 +0000 (12:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jul 2014 23:54:03 +0000 (16:54 -0700)
The `PCI230_TEST_BIT()` macro is never used.  Remove it.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_pci230.c

index e6744a5e0189dd5573873700578acfe45e55dd88..f94b542ca76df424a6f114bea79d8738debfcb2d 100644 (file)
 /* For PCI230+ hardware version 2 when DAC FIFO enabled. */
 #define PCI230P2_INT_DAC               (1<<4)
 
-/* Assumes bits numbered with zero offset, ie. 0-15 */
-#define PCI230_TEST_BIT(val, n)        ((val>>n)&1)
-
 /*
  * (Potentially) shared resources and their owners
  */