vfs:fix for variable 'rfp' set but not used.
mount.c: In function 'mount_pfs': mount.c:395:17: error: variable 'rfp' set but not used [-Werror=unused-but-set-variable] Change-Id: I2f22590ab4e3a4a1678e9096626ebca53d2660e6
This commit is contained in:
parent
fce5ff6513
commit
c0c581a635
1 changed files with 0 additions and 3 deletions
|
@ -395,7 +395,6 @@ void mount_pfs(void)
|
||||||
|
|
||||||
dev_t dev;
|
dev_t dev;
|
||||||
struct vmnt *vmp;
|
struct vmnt *vmp;
|
||||||
struct fproc *rfp;
|
|
||||||
|
|
||||||
if ((dev = find_free_nonedev()) == NO_DEV)
|
if ((dev = find_free_nonedev()) == NO_DEV)
|
||||||
panic("VFS: no nonedev to initialize PFS");
|
panic("VFS: no nonedev to initialize PFS");
|
||||||
|
@ -410,8 +409,6 @@ void mount_pfs(void)
|
||||||
strlcpy(vmp->m_label, "pfs", LABEL_MAX);
|
strlcpy(vmp->m_label, "pfs", LABEL_MAX);
|
||||||
strlcpy(vmp->m_mount_path, "pipe", PATH_MAX);
|
strlcpy(vmp->m_mount_path, "pipe", PATH_MAX);
|
||||||
strlcpy(vmp->m_mount_dev, "none", PATH_MAX);
|
strlcpy(vmp->m_mount_dev, "none", PATH_MAX);
|
||||||
|
|
||||||
rfp = &fproc[_ENDPOINT_P(PFS_PROC_NR)];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*===========================================================================*
|
/*===========================================================================*
|
||||||
|
|
Loading…
Reference in a new issue