msm: ipa: remove redundant check for KW issue

Remove redundant NULL check.

Change-Id: Ic9c00ba527bab1063cee0e089184f97356c99048
This commit is contained in:
Bojun Pan
2021-03-31 15:44:21 -07:00
orang tua 6ce2951938
melakukan 6b1e1ff2f9

Melihat File

@@ -198,8 +198,6 @@ static void ipa_eth_ready_notify_work(struct work_struct *work)
ipa_eth_ctx->is_eth_ready = true;
list_for_each_entry_safe(entry, next,
&ipa_eth_ctx->ready_cb_list, link) {
if (!entry)
break;
if (entry->info && entry->info->notify)
entry->info->notify(entry->info->userdata);
/* remove from list once notify is done */