Remove an unnecessary null check from lookup_local_symbol lookup_local_symbol checks whether 'function' is null before calling block::inlined_p, but this is not necessary.