From: Maksim Rayskiy Date: Tue, 12 Apr 2011 22:14:56 +0000 (-0700) Subject: UBIFS: fix compilation warnings when compiling with gcc 4.5 X-Git-Tag: v2.6.39-rc4~23^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dcffad74183bb00e8129ba1c5bb2c9931d31bd7;p=pandora-kernel.git 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 Acked-by: Mike Frysinger Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed