aboutsummaryrefslogtreecommitdiff
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-02-11 19:11:13 +0900
committerJeff Garzik <jgarzik@pobox.com>2006-02-11 17:51:57 -0500
commitbef4a456b8dc8b3638f4d49a25a89e1467da9483 (patch)
treec8c9a6ca26f2e6cf75db0623fb1f395330fbe6ca /include/linux/libata.h
parentbeec7dbc6ff003bbc94de62b3323519c878fb2ac (diff)
[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.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 695d9ae6ec0..83a1f2ead86 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