aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/epl/global.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-03-23 11:19:28 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:54:20 -0700
commit541a8bde90068471e9fc26cfe4c5fcb11dcd751b (patch)
treef7fc80526318ad4c36239e878e62ea0db3ef7151 /drivers/staging/epl/global.h
parent563b125de36c91722f038f11da374d49de168917 (diff)
Staging: epl: remove __KERNEL__ checks
We are in the kernel, so these checks are pointless. Cc: Daniel Krueger <daniel.krueger@systec-electronic.com> Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/epl/global.h')
-rw-r--r--drivers/staging/epl/global.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/epl/global.h b/drivers/staging/epl/global.h
index d882f2f5270..a27bde92917 100644
--- a/drivers/staging/epl/global.h
+++ b/drivers/staging/epl/global.h
@@ -288,15 +288,8 @@ typedef struct {
//---------------------------------------------------------------------------
#ifndef ASSERT
-#if !defined (__linux__) && !defined (__KERNEL__)
-#include <assert.h>
-#ifndef ASSERT
-#define ASSERT(p) assert(p)
-#endif
-#else
#define ASSERT(p)
#endif
-#endif
//---------------------------------------------------------------------------
// SYS TEC extensions