Small logic simplification in hyperswitch
Small logic simplification in hyperswitch

We previously tested a few things multiple times, which cost a little bit of
performance, and made the control flow less clear. This patch restructures
things a bit to avoid this.

wikimedia/hyperswitch