diff options
author | Maksim Rayskiy <maksim.rayskiy@gmail.com> | 2011-04-12 15:14:56 -0700 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-04-13 11:59:09 +0300 |
commit | 1dcffad74183bb00e8129ba1c5bb2c9931d31bd7 (patch) | |
tree | a7553e2f7a24fd24f3313fd15140b0200d6c56ad /drivers/uwb/umc-bus.c | |
parent | 78530bf7f2559b317c04991b52217c1608d5a58d (diff) | |
download | kernel_samsung_smdk4412-1dcffad74183bb00e8129ba1c5bb2c9931d31bd7.zip kernel_samsung_smdk4412-1dcffad74183bb00e8129ba1c5bb2c9931d31bd7.tar.gz kernel_samsung_smdk4412-1dcffad74183bb00e8129ba1c5bb2c9931d31bd7.tar.bz2 |
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>
Diffstat (limited to 'drivers/uwb/umc-bus.c')
0 files changed, 0 insertions, 0 deletions