diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-12-09 15:53:28 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-12-21 11:51:23 -0500 |
commit | c8b031ebc1246d42463c5c69df8f610ca9f48e77 (patch) | |
tree | 5072fff1d6fb6f4d790eae99781357ac73cba85d /fs/nfs/mount_clnt.c | |
parent | 79691836603541e81a3793970826ac4a75429572 (diff) | |
download | op-kernel-dev-c8b031ebc1246d42463c5c69df8f610ca9f48e77.zip op-kernel-dev-c8b031ebc1246d42463c5c69df8f610ca9f48e77.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/mount_clnt.c b/fs/nfs/mount_clnt.c index 697e072..d4c2d6b 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", |