diff options
author | Alan Cox <alan@linux.intel.com> | 2017-03-10 11:33:45 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-12 14:48:20 +0100 |
commit | d9b16766fe2d50cbdeaf9c536312e1e5667a64a6 (patch) | |
tree | 495d19c554cce6002276101827922ddc97ab7b6f /drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include | |
parent | 5a0ff3683d68ec5c7898899ca3445ca6cb10c928 (diff) | |
download | op-kernel-dev-d9b16766fe2d50cbdeaf9c536312e1e5667a64a6.zip op-kernel-dev-d9b16766fe2d50cbdeaf9c536312e1e5667a64a6.tar.gz |
atomisp: remove unused code and unify a header
KLOCWORK is never defined so we can remove the workarounds for this in the
code.
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 | 11 |
1 files changed, 0 insertions, 11 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 95f3892..4d68405 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 @@ -17,17 +17,6 @@ #include "storage_class.h" -#ifdef __KLOCWORK__ -/* Klocwork does not see that assert will lead to abortion - * as there is no good way to tell this to KW and the code - * should not depend on assert to function (actually the assert - * could be disabled in a release build) it was decided to - * disable the assert for KW scans (by defining NDEBUG) - * see also: http://www.klocwork.com/products/documentation/current/Tuning_C/C%2B%2B_analysis#Assertions - */ -#define NDEBUG -#endif /* __KLOCWORK__ */ - /** * The following macro can help to test the size of a struct at compile * time rather than at run-time. It does not work for all compilers; see |