clean up codes, reduce unneccessary logic (#35822)
clean up codes, reduce unneccessary logic (#35822)

Signed-off-by: zackzhangkai <aff9dc783fe062eeea1b83f3806ab6841f65d024@gmail.com>
istio/istio,istio/istio,istio/istio,istio/istio,istio/istio