Add dummy uses for unused variables to clear compilation warnings
[yaffs2.git] / yaffs_guts.h
index 7d2ab53011e909346de68de72bda99a8203400cf..3bae979134dfcd3fc7bb66f12d4bb6c78f65c39f 100644 (file)
@@ -63,7 +63,7 @@
 
 #define YAFFS_OBJECT_SPACE             0x40000
 
-#define YAFFS_CHECKPOINT_VERSION       3
+#define YAFFS_CHECKPOINT_VERSION       4
 
 #ifdef CONFIG_YAFFS_UNICODE
 #define YAFFS_MAX_NAME_LENGTH          127
@@ -603,10 +603,6 @@ struct yaffs_DeviceParamStruct {
        int disableLazyLoad;    /* Disable lazy loading on this device */
        int wideTnodesDisabled; /* Set to disable wide tnodes */
 
-       YCHAR *pathDividers;    /* String of legal path dividers */
-
-       
-
        /* End of stuff that must be set before initialisation. */
 };
 
@@ -700,6 +696,7 @@ struct yaffs_DeviceStruct {
        yaffs_ObjectList *allocatedObjectList;
 
        yaffs_ObjectBucket objectBucket[YAFFS_NOBJECT_BUCKETS];
+       __u32 bucketFinder;
 
        int nFreeChunks;
 
@@ -797,7 +794,6 @@ typedef struct {
 
        /* yaffs2 runtime stuff */
        unsigned sequenceNumber;        /* Sequence number of currently allocating block */
-       unsigned oldestDirtySequence;
 
 } yaffs_CheckpointDevice;