diff options
author | Alan Cox <alan@linux.intel.com> | 2017-03-10 11:34:11 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-12 14:48:20 +0100 |
commit | 5ac0a3447a3192f4664b9af4c28b24c634f0be21 (patch) | |
tree | 107569f773c8e9a3f2001fbd297a12ef18f2a0a3 /drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include | |
parent | de3ae0d0870d04beb8e47f0dc8a25522415024a4 (diff) | |
download | op-kernel-dev-5ac0a3447a3192f4664b9af4c28b24c634f0be21.zip op-kernel-dev-5ac0a3447a3192f4664b9af4c28b24c634f0be21.tar.gz |
atomisp: remove C_RUN define and code
We are not going to be building for anything but Linux so the code bracketed
by C_RUN is not used and not needed.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include')
-rw-r--r-- | drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/assert_support.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/assert_support.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/assert_support.h index b763e1f..92fb15d 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/assert_support.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/assert_support.h @@ -92,16 +92,12 @@ * The implemenation for the pipe generation tool is in see support.isp.h */ #define OP___assert(cnd) assert(cnd) -#ifdef C_RUN -#define compile_time_assert(cond) OP___assert(cond) -#else STORAGE_CLASS_INLINE void compile_time_assert (unsigned cond) { /* Call undefined function if cond is false */ extern void _compile_time_assert (void); if (!cond) _compile_time_assert(); } -#endif #endif /* PIPE_GENERATION */ #endif /* __ASSERT_SUPPORT_H_INCLUDED__ */ |