diff options
author | Wolfgang Denk <wd@denx.de> | 2011-09-08 02:10:21 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-09-10 00:00:29 +0200 |
commit | 3da04743b8ea44cfcc73fc2491907e189bb67f28 (patch) | |
tree | f55157b8cfe4e454d2f6a293c8d4d2d4950a244f /fs/yaffs2 | |
parent | fa00e0324cc93e5cffa959718c9cab359ebe6289 (diff) | |
download | u-boot-3da04743b8ea44cfcc73fc2491907e189bb67f28.tar.gz |
YAFFS2: fs/yaffs2/yaffs_guts.c - fix build warnings
Fix these:
yaffs_guts.c: At top level:
yaffs_guts.c:400: warning: 'yaffs_SkipFullVerification' defined but not used
Testing shows no changes of the image sizes.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'fs/yaffs2')
-rw-r--r-- | fs/yaffs2/yaffs_guts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/yaffs2/yaffs_guts.c b/fs/yaffs2/yaffs_guts.c index b368844296..fc86a5ce2a 100644 --- a/fs/yaffs2/yaffs_guts.c +++ b/fs/yaffs2/yaffs_guts.c @@ -391,17 +391,17 @@ static int yaffs_CountChunkBits(yaffs_Device * dev, int blk) * Verification code */ -static int yaffs_SkipVerification(yaffs_Device *dev) +static Y_INLINE int yaffs_SkipVerification(yaffs_Device *dev) { return !(yaffs_traceMask & (YAFFS_TRACE_VERIFY | YAFFS_TRACE_VERIFY_FULL)); } -static int yaffs_SkipFullVerification(yaffs_Device *dev) +static Y_INLINE int yaffs_SkipFullVerification(yaffs_Device *dev) { return !(yaffs_traceMask & (YAFFS_TRACE_VERIFY_FULL)); } -static int yaffs_SkipNANDVerification(yaffs_Device *dev) +static Y_INLINE int yaffs_SkipNANDVerification(yaffs_Device *dev) { return !(yaffs_traceMask & (YAFFS_TRACE_VERIFY_NAND)); } |