From: Ian Abbott Date: Wed, 30 May 2012 13:37:52 +0000 (+0100) Subject: staging: comedi: amplc_pc236: Remove most #if lines X-Git-Tag: v3.6-rc1~100^2~993 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a46e759fc05a048530da43f241c8f07e0624232c;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed