Browse Source

* vfs/sfs.c (sfs_uptodate): Eliminate - it is a noop.
Remove all references to `sfs_uptodate'.

Pavel Tsekov 19 years ago
parent
commit
44becc0a7d
2 changed files with 6 additions and 10 deletions
  1. 5 0
      vfs/ChangeLog
  2. 1 10
      vfs/sfs.c

+ 5 - 0
vfs/ChangeLog

@@ -1,3 +1,8 @@
+2006-04-04  Pavel Tsekov  <ptsekov@gmx.net>
+
+	* sfs.c (sfs_uptodate): Eliminate - it is a noop.
+	Remove all references to `sfs_uptodate'.
+
 2006-03-31  Dmitry Butskoj  <buc@odusz.so-cdu.ru>
 
 	* fish.c (fish_file_store): Do not create the target file before

+ 1 - 10
vfs/sfs.c

@@ -48,14 +48,6 @@ static int sfs_flags[ MAXFS ];
 #define F_NOLOCALCOPY 4
 #define F_FULLMATCH 8
 
-static int
-sfs_uptodate (char *name, char *cache)
-{
-    (void) name;
-    (void) cache;
-    return 1;
-}
-
 static int
 sfs_vfmake (struct vfs_class *me, const char *name, char *cache)
 {
@@ -156,8 +148,7 @@ sfs_redirect (struct vfs_class *me, const char *name)
     int handle;
 
     while (cur) {
-	if ((!strcmp (name, cur->name))
-	    && (sfs_uptodate (cur->name, cur->cache))) {
+	if (!strcmp (name, cur->name)) {
 	    vfs_stamp (&vfs_sfs_ops, cur);
 	    return cur->cache;
 	}