From: H Hartley Sweeten Date: Fri, 20 Jun 2014 18:10:31 +0000 (-0700) Subject: staging: comedi: ni_mio_cs: remove ATMIO and PCIMIO defines X-Git-Tag: v3.17-rc1~123^2~1293 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b3d471e9bb845a542ee3bbc087e38a5b64170084;p=karo-tx-linux.git staging: comedi: ni_mio_cs: 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_mio_cs.c b/drivers/staging/comedi/drivers/ni_mio_cs.c index f58be63d9226..815cb2b65c05 100644 --- a/drivers/staging/comedi/drivers/ni_mio_cs.c +++ b/drivers/staging/comedi/drivers/ni_mio_cs.c @@ -47,9 +47,6 @@ See the notes in the ni_atmio.o driver. #include #include -#define ATMIO 1 -#undef PCIMIO - /* * AT specific setup */