staging: comedi: amplc_pc236: Remove most #if lines
authorIan Abbott <abbotti@mev.co.uk>
Wed, 30 May 2012 13:37:52 +0000 (14:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:46:58 +0000 (20:46 -0700)
commita46e759fc05a048530da43f241c8f07e0624232c
tree8aab341c6848a2d40c9b101573eec9f59ea59088
parent18e41de083075b3b6a0bd55e00f1662d045efb49
staging: comedi: amplc_pc236: Remove most #if lines

Remove most of the #if IS_ENABLED(xxx) lines, but add extra if
(IS_ENABLED(xxx)) tests so the compiler can remove unreachable code.
The pci_driver stuff and device table is still conditionally compiled.

Also made pc236_find_pci() static as it was accidentally made non-static
by an earlier patch, so the compiler wouldn't remove it when it was
unreachable.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_pc236.c