remove unused macros SKIP_IF_BPF{,_NOT}_SUPPORTED
Test: builds, atest, TreeHugger Bug: 167500195 Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: Ic740b1102fcf735516123eee2c6a3d5caa0892f9
This commit is contained in:
parent
f7a0a39d05
commit
b8e9af4b10
1 changed files with 0 additions and 13 deletions
|
@ -61,19 +61,6 @@ inline bool isBpfSupported() {
|
|||
return getBpfSupportLevel() != BpfLevel::NONE;
|
||||
}
|
||||
|
||||
#define SKIP_IF_BPF_NOT_SUPPORTED \
|
||||
do { \
|
||||
if (!android::bpf::isBpfSupported()) { \
|
||||
GTEST_LOG_(INFO) << "This test is skipped since bpf is not available\n"; \
|
||||
return; \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#define SKIP_IF_BPF_SUPPORTED \
|
||||
do { \
|
||||
if (android::bpf::isBpfSupported()) return; \
|
||||
} while (0)
|
||||
|
||||
#define SKIP_IF_EXTENDED_BPF_NOT_SUPPORTED \
|
||||
do { \
|
||||
if (android::bpf::getBpfSupportLevel() < android::bpf::BpfLevel::EXTENDED_4_14) { \
|
||||
|
|
Loading…
Reference in a new issue