[PATCH 11/25] net: hns3: splice two "if" logic as one