YAFFS2: fs/yaffs2/yaffs_guts.c - fix build warnings
authorWolfgang Denk <wd@denx.de>
Thu, 8 Sep 2011 02:10:21 +0000 (02:10 +0000)
committerWolfgang Denk <wd@denx.de>
Fri, 9 Sep 2011 22:00:29 +0000 (00:00 +0200)
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>
fs/yaffs2/yaffs_guts.c

index b368844296ab3ffaf0b142d219b37161dc660c67..fc86a5ce2a3ef7e7f4ed2ffc9f622dadf29f8aa8 100644 (file)
@@ -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));
 }