In ssl_action_wait_for_hs() the local variables called "cs" is just a copy of s->scf that's only used once, so it can be removed. In addition the check was removed as well since it's not possible to have a NULL SC on a stream.