projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7969183
)
NFS: Remove redundant unlikely()
author
Tobias Klauser
<tklauser@distanz.ch>
Thu, 9 Dec 2010 14:53:28 +0000
(15:53 +0100)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 21 Dec 2010 16:51:23 +0000
(11:51 -0500)
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>
fs/nfs/mount_clnt.c
patch
|
blob
|
history
diff --git
a/fs/nfs/mount_clnt.c
b/fs/nfs/mount_clnt.c
index
697e072
..
d4c2d6b
100644
(file)
--- 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",