From 546d8da93610886f28c1e2a8a617ae225d23b7ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20=C5=BBenczykowski?= Date: Wed, 1 May 2019 14:48:12 -0700 Subject: [PATCH] remove BPF_CONTINUE and BPF_DELETED constants MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These are apparently not used anywhere, and this can be trivially confirmed via code search. Test: builds Signed-off-by: Maciej Żenczykowski Change-Id: I738c83c1b00bf9a7d7344a4b31bf80581788ec10 --- libbpf_android/include/bpf/BpfUtils.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/libbpf_android/include/bpf/BpfUtils.h b/libbpf_android/include/bpf/BpfUtils.h index 23026bb..376b726 100644 --- a/libbpf_android/include/bpf/BpfUtils.h +++ b/libbpf_android/include/bpf/BpfUtils.h @@ -177,9 +177,6 @@ int synchronizeKernelRCU(); if (android::bpf::getBpfSupportLevel() != android::bpf::BpfLevel::NONE) return; \ } while (0) -constexpr int BPF_CONTINUE = 0; -constexpr int BPF_DELETED = 1; - bool operator==(const StatsValue& lhs, const StatsValue& rhs); bool operator==(const UidTag& lhs, const UidTag& rhs); bool operator==(const StatsKey& lhs, const StatsKey& rhs);