summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2019-05-01 14:48:12 -0700
committerMaciej Zenczykowski <maze@google.com>2019-05-09 23:45:23 +0000
commit7a1bf84cebfbf4c755be888605fd1d9c6e193ed9 (patch)
treeb7af0702e5751d67b76a8ce3292af7cb7a389da7
parent1dbd80a92d910104b57fda4f7169883da422dce3 (diff)
downloadandroid_system_bpf-7a1bf84cebfbf4c755be888605fd1d9c6e193ed9.tar.gz
android_system_bpf-7a1bf84cebfbf4c755be888605fd1d9c6e193ed9.tar.bz2
android_system_bpf-7a1bf84cebfbf4c755be888605fd1d9c6e193ed9.zip
remove BPF_CONTINUE and BPF_DELETED constants
These are apparently not used anywhere, and this can be trivially confirmed via code search. Test: builds Bug: 131268436 Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I738c83c1b00bf9a7d7344a4b31bf80581788ec10 Merged-In: I738c83c1b00bf9a7d7344a4b31bf80581788ec10 (cherry picked from commit 546d8da93610886f28c1e2a8a617ae225d23b7ee)
-rw-r--r--libbpf_android/include/bpf/BpfUtils.h3
1 files changed, 0 insertions, 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);