]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/export/export.c
Remove redundant m_path field
[nfs-utils.git] / support / export / export.c
index 93c58b62c61f750a7c41247ed982097a4fa63971..14af11219fcfc8fa358d6376fcf003ada044be85 100644 (file)
@@ -255,15 +255,3 @@ export_freeall(void)
        }
        client_freeall();
 }
-
-void
-export_reset(nfs_export *exp)
-{
-       if (!exp)
-               return;
-
-       /* Restore m_path. */
-       strncpy(exp->m_export.m_path, exp->m_export.e_path,
-               sizeof (exp->m_export.m_path) - 1);
-       exp->m_export.m_path[sizeof (exp->m_export.m_path) - 1] = '\0';
-}