Remove dead code
[openafs.git] / src / afs / afs_fetchstore.c
index 72b82ec..c24c76d 100644 (file)
@@ -415,19 +415,6 @@ rxfs_storeInit(struct vcache *avc, struct afs_conn *tc,
            osi_Panic
             ("rxfs_storeInit: osi_AllocSmallSpace for iovecs returned NULL\n");
        *ops = (struct storeOps *) &rxfs_storeMemOps;
-#ifdef notdef
-       /* do this at a higher level now -- it's a parameter */
-       /* for now, only do 'continue from close' code if file fits in one
-        * chunk.  Could clearly do better: if only one modified chunk
-        * then can still do this.  can do this on *last* modified chunk */
-       length = avc->f.m.Length - 1; /* byte position of last byte we'll store */
-       if (shouldWake) {
-           if (AFS_CHUNK(length) != 0)
-               *shouldWake = 0;
-           else
-               *shouldWake = 1;
-       }
-#endif /* notdef */
     }
 
     *rock = (void *)v;