From 52605df5fd274a7a2e1aa2924a9c93a075e31a28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20=C5=BBenczykowski?= Date: Tue, 25 Oct 2022 09:24:32 +0000 Subject: [PATCH] remove SKIP_IF_EXTENDED_BPF_NOT_SUPPORTED MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit as this does not appear to be used anywhere anymore Test: TreeHugger Signed-off-by: Maciej Żenczykowski Change-Id: I95939b0b6c66f41f776ca31ea7178bb30241b81f --- staticlibs/native/bpf_headers/include/bpf/BpfUtils.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/staticlibs/native/bpf_headers/include/bpf/BpfUtils.h b/staticlibs/native/bpf_headers/include/bpf/BpfUtils.h index 4429164ee5..1eb3aebb47 100644 --- a/staticlibs/native/bpf_headers/include/bpf/BpfUtils.h +++ b/staticlibs/native/bpf_headers/include/bpf/BpfUtils.h @@ -127,12 +127,6 @@ static inline bool isAtLeastKernelVersion(unsigned major, unsigned minor, unsign GTEST_SKIP() << "Skip: bpf is not supported."; \ } while (0) -#define SKIP_IF_EXTENDED_BPF_NOT_SUPPORTED \ - do { \ - if (!android::bpf::isAtLeastKernelVersion(4, 14, 0)) \ - GTEST_SKIP() << "Skip: extended bpf feature not supported."; \ - } while (0) - #define SKIP_IF_XDP_NOT_SUPPORTED \ do { \ if (!android::bpf::isAtLeastKernelVersion(5, 9, 0)) \