Date: Tue, 18 Dec 2018 06:09:12 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r342186 - projects/nfsv42/sys/fs/nfsserver Message-ID: <201812180609.wBI69CwW088562@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rmacklem Date: Tue Dec 18 06:09:12 2018 New Revision: 342186 URL: https://svnweb.freebsd.org/changeset/base/342186 Log: Delete an unneeded statement, since "tl" isn't used after this line. Modified: projects/nfsv42/sys/fs/nfsserver/nfs_nfsdserv.c Modified: projects/nfsv42/sys/fs/nfsserver/nfs_nfsdserv.c ============================================================================== --- projects/nfsv42/sys/fs/nfsserver/nfs_nfsdserv.c Tue Dec 18 05:08:56 2018 (r342185) +++ projects/nfsv42/sys/fs/nfsserver/nfs_nfsdserv.c Tue Dec 18 06:09:12 2018 (r342186) @@ -4804,7 +4804,7 @@ nfsrvd_ioadvise(struct nfsrv_descript *nd, __unused in NFSBCOPY(tl, stateid.other, NFSX_STATEIDOTHER); tl += (NFSX_STATEIDOTHER / NFSX_UNSIGNED); offset = fxdr_hyper(tl); tl += 2; - len = fxdr_hyper(tl); tl += 2; + len = fxdr_hyper(tl); error = nfsrv_getattrbits(nd, &hints, NULL, NULL); if (error != 0) goto nfsmout;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812180609.wBI69CwW088562>