]> err.no Git - linux-2.6/blobdiff - fs/nfs/mount_clnt.c
[PATCH] fs: remove redundant timespec_equal test in update_atime()
[linux-2.6] / fs / nfs / mount_clnt.c
index 9d3ddad96d9ea0ce76bdca219a490677c4f37ae5..0e82617f2de0616c06fbaef233dd5e6bbea397e6 100644 (file)
@@ -80,9 +80,7 @@ mnt_create(char *hostname, struct sockaddr_in *srvaddr, int version,
        clnt = rpc_create_client(xprt, hostname,
                                &mnt_program, version,
                                RPC_AUTH_UNIX);
-       if (IS_ERR(clnt)) {
-               xprt_destroy(xprt);
-       } else {
+       if (!IS_ERR(clnt)) {
                clnt->cl_softrtry = 1;
                clnt->cl_chatty   = 1;
                clnt->cl_oneshot  = 1;