From: Dirk Vogt Date: Wed, 24 Nov 2010 16:30:13 +0000 (+0000) Subject: removed unneeded global var X-Git-Tag: v3.2.0~730 X-Git-Url: http://zhaoyanbai.com/repos/doc/man.3.txt?a=commitdiff_plain;h=5e1e7635069c6b3dba076f326f34214653c033a2;p=minix.git removed unneeded global var --- diff --git a/servers/vfs/glo.h b/servers/vfs/glo.h index f56492c66..852218295 100644 --- a/servers/vfs/glo.h +++ b/servers/vfs/glo.h @@ -22,7 +22,6 @@ EXTERN int who_p, who_e; /* caller's proc number, endpoint */ EXTERN int call_nr; /* system call number */ EXTERN message mount_m_in; /* the input message for a mount request */ -EXTERN endpoint_t mount_fs_e; /* endpoint of file system to mount */ EXTERN char mount_label[LABEL_MAX]; /* label of file system to mount */ EXTERN char user_fullpath[PATH_MAX+1]; /* storage for user path name */ diff --git a/servers/vfs/mount.c b/servers/vfs/mount.c index 39c21700c..1bdbb5e26 100644 --- a/servers/vfs/mount.c +++ b/servers/vfs/mount.c @@ -114,8 +114,6 @@ PRIVATE int mount_fs(endpoint_t fs_e) if (!super_user) return(EPERM); /* Clear endpoint field */ - mount_fs_e = NONE; - /* Should the file system be mounted read-only? */ rdonly = (m_in.mount_flags & MS_RDONLY);