diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2015-07-22 21:16:33 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-23 06:51:37 +0300 |
commit | 217ed3abf1510747590aaa5da93217e559fd8e19 (patch) | |
tree | 60339ec6804c2f21034e9fc8215f7e3e7a1b9bad /drivers/staging/vt6655/device_cfg.h | |
parent | 83aa2ac65a36e77f5651ef8946003b856cab49bc (diff) | |
download | linux-217ed3abf1510747590aaa5da93217e559fd8e19.tar.xz |
staging: vt6655: Remove ununsed macro ASSERT
VIAWET_DEBUG is not defined so macro is empty.
Remove the macro.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/device_cfg.h')
-rw-r--r-- | drivers/staging/vt6655/device_cfg.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/vt6655/device_cfg.h b/drivers/staging/vt6655/device_cfg.h index a4a8a8489e0b..c7f21716b4f0 100644 --- a/drivers/staging/vt6655/device_cfg.h +++ b/drivers/staging/vt6655/device_cfg.h @@ -70,17 +70,8 @@ typedef enum _chip_type { } CHIP_TYPE, *PCHIP_TYPE; #ifdef VIAWET_DEBUG -#define ASSERT(x) \ -do { \ - if (!(x)) { \ - pr_err("assertion %s failed: file %s line %d\n", \ - #x, __func__, __LINE__); \ - *(int *)0 = 0; \ - } \ -} while (0) #define DBG_PORT80(value) outb(value, 0x80) #else -#define ASSERT(x) #define DBG_PORT80(value) #endif |