Revert "bpfloader: Android V requires kernel 4.19+" am: 2733d97683 am: 69c27a5cd1 am: c2bf67b813 am: bfa39490ef
Original change: https://android-review.googlesource.com/c/platform/system/bpf/+/2658975
Change-Id: I85880e89a8fb1d057544d29e6f86d0e4e714fe38
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/bpfloader/BpfLoader.cpp b/bpfloader/BpfLoader.cpp
index e1dbd06..fe51ed5 100644
--- a/bpfloader/BpfLoader.cpp
+++ b/bpfloader/BpfLoader.cpp
@@ -251,11 +251,6 @@
(void)argc;
android::base::InitLogging(argv, &android::base::KernelLogger);
- if (!android::bpf::isAtLeastKernelVersion(4, 19, 0)) {
- ALOGE("Android V requires kernel 4.19.");
- return 1;
- }
-
// Ensure we can determine the Android build type.
if (!android::bpf::isEng() && !android::bpf::isUser() && !android::bpf::isUserdebug()) {
ALOGE("Failed to determine the build type: got %s, want 'eng', 'user', or 'userdebug'",