vxlan: remove the unnecessary codes