NFS: Remove redundant unlikely()
authorTobias Klauser <tklauser@distanz.ch>
Thu, 9 Dec 2010 14:53:28 +0000 (15:53 +0100)
committerTrond 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

index 697e07235f308f66834e7bfd82b15d0f23fc8383..d4c2d6b7507e791044df2837c1d0803699a2a518 100644 (file)
@@ -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",