diff options
author | Tejun Heo <htejun@gmail.com> | 2006-02-11 13:11:13 +0300 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-02-12 01:51:57 +0300 |
commit | bef4a456b8dc8b3638f4d49a25a89e1467da9483 (patch) | |
tree | c8c9a6ca26f2e6cf75db0623fb1f395330fbe6ca /include/linux/libata.h | |
parent | beec7dbc6ff003bbc94de62b3323519c878fb2ac (diff) | |
download | linux-bef4a456b8dc8b3638f4d49a25a89e1467da9483.tar.xz |
[PATCH] libata: kill assert() macro
libata assert() now has no user left. Kill it.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 695d9ae6ec03..83a1f2ead861 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -62,16 +62,6 @@ #define BPRINTK(fmt, args...) if (ap->flags & ATA_FLAG_DEBUGMSG) printk(KERN_ERR "%s: " fmt, __FUNCTION__, ## args) -#ifdef ATA_NDEBUG -#define assert(expr) -#else -#define assert(expr) \ - if(unlikely(!(expr))) { \ - printk(KERN_ERR "Assertion failed! %s,%s,%s,line=%d\n", \ - #expr,__FILE__,__FUNCTION__,__LINE__); \ - } -#endif - /* NEW: debug levels */ #define HAVE_LIBATA_MSG 1 |