From: H Hartley Sweeten Date: Fri, 20 Jun 2014 18:10:30 +0000 (-0700) Subject: staging: comedi: ni_atmio: remove ATMIO and PCIMIO defines X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=e5cc90f8fca28801da4b7feca4c272b6ffaa5d9d;p=deliverable%2Flinux.git staging: comedi: ni_atmio: remove ATMIO and PCIMIO defines These defines were probably intended to be used so that ni_mio_common.c could detect if it was included by a driver that uses ioport or memory mapped register access. This can actually be detected by checking if the 'mite' member in the private data has been allocated. Regardless, the symbols are not used. Just remove them. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/ni_atmio.c b/drivers/staging/comedi/drivers/ni_atmio.c index 230879faef92..d7ee6bde44cd 100644 --- a/drivers/staging/comedi/drivers/ni_atmio.c +++ b/drivers/staging/comedi/drivers/ni_atmio.c @@ -98,9 +98,6 @@ are not supported. #include "ni_stc.h" #include "8255.h" -#define ATMIO 1 -#undef PCIMIO - /* * AT specific setup */