[rtems commit] nfsclient: Delete superfluous mask operation

Sebastian Huber sebh at rtems.org
Wed Jun 5 15:14:30 UTC 2013


Module:    rtems
Branch:    master
Commit:    442db915f8b54f45e56133b4e9e3e58bd6580968
Changeset: http://git.rtems.org/rtems/commit/?id=442db915f8b54f45e56133b4e9e3e58bd6580968

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Jun  4 15:34:49 2013 +0200

nfsclient: Delete superfluous mask operation

---

 cpukit/libfs/src/nfsclient/src/rpcio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cpukit/libfs/src/nfsclient/src/rpcio.c b/cpukit/libfs/src/nfsclient/src/rpcio.c
index 6d9be33..881eeda 100644
--- a/cpukit/libfs/src/nfsclient/src/rpcio.c
+++ b/cpukit/libfs/src/nfsclient/src/rpcio.c
@@ -742,7 +742,7 @@ int i = xact->obuf.xid & XACT_HASH_MSK;
 		/* remember XID we used last time so we can avoid
 		 * reusing the same one (incremented by rpcUdpSend routine)
 		 */
-		xidUpper[i]   = xact->obuf.xid & ~XACT_HASH_MSK;
+		xidUpper[i]   = xact->obuf.xid;
 		MU_UNLOCK(hlock);
 
 		bufFree(&xact->ibuf);




More information about the vc mailing list