diff --git a/staticlibs/native/bpf_headers/include/bpf/BpfUtils.h b/staticlibs/native/bpf_headers/include/bpf/BpfUtils.h index a6e4783d59..dc4fb17970 100644 --- a/staticlibs/native/bpf_headers/include/bpf/BpfUtils.h +++ b/staticlibs/native/bpf_headers/include/bpf/BpfUtils.h @@ -115,11 +115,5 @@ static inline bool isAtLeastKernelVersion(unsigned major, unsigned minor, unsign return kernelVersion() >= KVER(major, minor, sub); } -#define SKIP_IF_BPF_NOT_SUPPORTED \ - do { \ - if (!android::bpf::isAtLeastKernelVersion(4, 9, 0)) \ - GTEST_SKIP() << "Skip: bpf is not supported."; \ - } while (0) - } // namespace bpf } // namespace android