kernel/vfs: Remove some unused variables.
[dragonfly.git] / sys / vfs / nfs / nfs_syscalls.c
index dce5f8c..3ad9c0b 100644 (file)
@@ -1059,7 +1059,7 @@ nfs_getnickauth(struct nfsmount *nmp, struct ucred *cred, char **auth_str,
 {
        struct nfsuid *nuidp;
        u_int32_t *nickp, *verfp;
-       struct timeval ktvin, ktvout;
+       struct timeval ktvout;
 
 #ifdef DIAGNOSTIC
        if (verf_len < (4 * NFSX_UNSIGNED))
@@ -1096,8 +1096,6 @@ nfs_getnickauth(struct nfsmount *nmp, struct ucred *cred, char **auth_str,
                getmicrotime(&nuidp->nu_timestamp);
        else
                nuidp->nu_timestamp.tv_usec++;
-       ktvin.tv_sec = txdr_unsigned(nuidp->nu_timestamp.tv_sec);
-       ktvin.tv_usec = txdr_unsigned(nuidp->nu_timestamp.tv_usec);
 
        /*
         * Now encrypt the timestamp verifier in ecb mode using the session