Maksim Rayskiy 1dcffad741 UBIFS: fix compilation warnings when compiling with gcc 4.5
When compiling UBIFS with CONFIG_UBIFS_FS_DEBUG not set,
gcc-4.5.2 generates a slew of "warning: statement with no effect"
on references to non-void functions defined as 0.
To avoid these warnings, replace #defines with dummy inline functions.

Artem: massage the patch a bit, also remove the duplicate
       'dbg_check_lprops()' prototype.

Signed-off-by: Maksim Rayskiy <maksim.rayskiy@gmail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2011-04-13 11:59:09 +03:00
..
2011-03-31 11:26:23 -03:00
2010-09-19 21:07:58 +03:00
2011-04-05 10:45:45 +03:00
2010-09-19 21:07:58 +03:00
2011-03-24 16:14:26 +02:00
2011-03-24 16:14:26 +02:00
2011-03-24 16:14:26 +02:00
2010-09-19 21:07:58 +03:00
2011-02-06 15:08:02 +02:00
2011-04-05 10:45:09 +03:00
2011-01-17 23:24:30 +02:00
2011-04-05 23:51:48 +02:00