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 <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Reviewed-by: David Howells <[email protected]>
Reviewed-by: Steve French <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
This commit is contained in:
Viresh Kumar 2015-08-12 15:59:44 +05:30 • committed by Jiri Kosina
commit a1c83681d5
8 changed files with 11 additions and 11 deletions

View file

@ -597,7 +597,7 @@ ncp_fill_cache(struct file *file, struct dir_context *ctx,
qname.name = __name;
newdent = d_hash_and_lookup(dentry, &qname);
if (unlikely(IS_ERR(newdent)))
if (IS_ERR(newdent))
goto end_advance;
if (!newdent) {
newdent = d_alloc(dentry, &qname);