From: Tobias Klauser Date: Thu, 9 Dec 2010 14:53:28 +0000 (+0100) Subject: NFS: Remove redundant unlikely() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c8b031ebc1246d42463c5c69df8f610ca9f48e77;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git NFS: Remove redundant unlikely() IS_ERR() already implies unlikely(), so it can be omitted here. Signed-off-by: Tobias Klauser Signed-off-by: Trond Myklebust --- 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",