summaryrefslogtreecommitdiff
path: root/fs/nfs/mount_clnt.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-12-09 15:53:28 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-12-21 11:51:23 -0500
commitc8b031ebc1246d42463c5c69df8f610ca9f48e77 (patch)
tree5072fff1d6fb6f4d790eae99781357ac73cba85d /fs/nfs/mount_clnt.c
parent79691836603541e81a3793970826ac4a75429572 (diff)
NFS: Remove redundant unlikely()
IS_ERR() already implies unlikely(), so it can be omitted here. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/mount_clnt.c')
-rw-r--r--fs/nfs/mount_clnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/mount_clnt.c b/fs/nfs/mount_clnt.c
index 697e07235f30..d4c2d6b7507e 100644
--- a/fs/nfs/mount_clnt.c
+++ b/fs/nfs/mount_clnt.c
@@ -246,7 +246,7 @@ void nfs_umount(const struct nfs_mount_request *info)
args.flags |= RPC_CLNT_CREATE_NONPRIVPORT;
clnt = rpc_create(&args);
- if (unlikely(IS_ERR(clnt)))
+ if (IS_ERR(clnt))
goto out_clnt_err;
dprintk("NFS: sending UMNT request for %s:%s\n",