fs: Drop unlikely before IS_ERR(_OR_NULL)
IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag and there is no need to do that again from its callers. Drop it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Jeff Layton <jlayton@poochiereds.net> Reviewed-by: David Howells <dhowells@redhat.com> Reviewed-by: Steve French <smfrench@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:

committed by
Jiri Kosina

parent
bf69a3b60e
commit
a1c83681d5
@@ -124,7 +124,7 @@ objio_alloc_deviceid_node(struct nfs_server *server, struct pnfs_device *pdev,
|
||||
|
||||
retry_lookup:
|
||||
od = osduld_info_lookup(&odi);
|
||||
if (unlikely(IS_ERR(od))) {
|
||||
if (IS_ERR(od)) {
|
||||
err = PTR_ERR(od);
|
||||
dprintk("%s: osduld_info_lookup => %d\n", __func__, err);
|
||||
if (err == -ENODEV && retry_flag) {
|
||||
|
Reference in New Issue
Block a user