[PATCH openEuler-22.09 v3 233/391] libbpf: Remove unneeded check for flags during tc detach