summaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/debug.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-16 15:39:56 (GMT)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-20 17:26:00 (GMT)
commite2986827d5d0759788d00f3759bcd46fc28f96c5 (patch)
treef1272cf940e80a0f3ee3e307341a2df0bbad6dbe /drivers/mtd/ubi/debug.h
parent7bf523ae252d654f1fa85c5e8759f221afe1c593 (diff)
downloadlinux-e2986827d5d0759788d00f3759bcd46fc28f96c5.tar.xz
UBI: get rid of dbg_err
This patch removes the 'dbg_err()' macro and we now use 'ubi_err' instead. The idea of 'dbg_err()' was to compile out some error message to make the binary a bit smaller - but I think it was a bad idea. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/debug.h')
-rw-r--r--drivers/mtd/ubi/debug.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/debug.h b/drivers/mtd/ubi/debug.h
index 3e5b60f..4499374 100644
--- a/drivers/mtd/ubi/debug.h
+++ b/drivers/mtd/ubi/debug.h
@@ -35,8 +35,6 @@ void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr);
} \
} while (0)
-#define dbg_err(fmt, ...) ubi_err(fmt, ##__VA_ARGS__)
-
#define ubi_dbg_print_hex_dump(l, ps, pt, r, g, b, len, a) \
print_hex_dump(l, ps, pt, r, g, b, len, a)