[PATCH openEuler-22.09 232/379] libbpf: Remove unneeded check for flags during tc detach