Skip to content

Commit 06f2fca

Browse files
Kefeng Wangsmfrench
authored andcommitted
fs: cifs: Drop unlikely before IS_ERR(_OR_NULL)
IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag, so no need to do that again from its callers. Drop it. Cc: linux-cifs@vger.kernel.org Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Paulo Alcantara <palcantara@suse.de>
1 parent d81f097 commit 06f2fca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/cifs/dfs_cache.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ static struct dfs_cache_entry *__find_cache_entry(unsigned int hash,
492492
#ifdef CONFIG_CIFS_DEBUG2
493493
char *name = get_tgt_name(ce);
494494

495-
if (unlikely(IS_ERR(name))) {
495+
if (IS_ERR(name)) {
496496
rcu_read_unlock();
497497
return ERR_CAST(name);
498498
}

0 commit comments

Comments
 (0)