Skip to content

Commit

Permalink
usrloc: Remove unnecessary NULL check
Browse files Browse the repository at this point in the history
CID #200086
  • Loading branch information
liviuchircu committed Jul 9, 2020
1 parent 7a63840 commit f305fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/usrloc/ucontact.c
Expand Up @@ -996,7 +996,7 @@ int update_ucontact(struct urecord* _r, ucontact_t* _c, ucontact_info_t* _ci,
run_ul_callbacks( UL_CONTACT_UPDATE, _c);
}

if (_r && have_mem_storage())
if (have_mem_storage())
update_contact_pos( _r, _c);

st_update_ucontact(_c);
Expand Down

0 comments on commit f305fa8

Please sign in to comment.