* vfs/sfs.c (sfs_uptodate): Eliminate - it is a noop.

Remove all references to `sfs_uptodate'.
This commit is contained in:
Pavel Tsekov 2006-04-04 09:26:13 +00:00
parent d5a17b01f8
commit 44becc0a7d
2 changed files with 6 additions and 10 deletions

View File

@ -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

View File

@ -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;
}