Skip to content

Commit

Permalink
NFS: Remove redundant unlikely()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tobias Klauser authored and Trond Myklebust committed Dec 21, 2010
1 parent 7969183 commit c8b031e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nfs/mount_clnt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c8b031e

Please sign in to comment.