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