summaryrefslogtreecommitdiff
path: root/ubifs-utils/mkfs.ubifs/defs.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-06-14 15:37:52 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-06-28 10:27:11 +0200
commite772dc854be0fa0f90254e09b3fe0cd3831fc38c (patch)
treee4c2873ec2090793bfdec39c762aa8e18fda30ec /ubifs-utils/mkfs.ubifs/defs.h
parentb0b1bc51496b7c328fcda3e6164292fa0d1dbc18 (diff)
Replace defunct ubifs_assert
The ubifs assert defined in defs.h was only used in three places inside key.h and defined to never perform any checks at all. This patch replaces ubifs_assert in mkfs.ubifs with the regular libc assert macro. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubifs-utils/mkfs.ubifs/defs.h')
-rw-r--r--ubifs-utils/mkfs.ubifs/defs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ubifs-utils/mkfs.ubifs/defs.h b/ubifs-utils/mkfs.ubifs/defs.h
index 1fa3316..8db5277 100644
--- a/ubifs-utils/mkfs.ubifs/defs.h
+++ b/ubifs-utils/mkfs.ubifs/defs.h
@@ -31,8 +31,6 @@
#define unlikely(x) (x)
-#define ubifs_assert(x) ({})
-
struct qstr
{
char *name;