Platform BpfLoader: remove dead code exists() function

Test: builds
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I13d33559b024c22b033a5b04b1be3f78a5a5913a
diff --git a/loader/BpfLoader.cpp b/loader/BpfLoader.cpp
index c05d1f4..e6800e6 100644
--- a/loader/BpfLoader.cpp
+++ b/loader/BpfLoader.cpp
@@ -52,17 +52,6 @@
 using android::base::EndsWith;
 using std::string;
 
-bool exists(const char* const path) {
-    int v = access(path, F_OK);
-    if (!v) {
-        ALOGI("%s exists.", path);
-        return true;
-    }
-    if (errno == ENOENT) return false;
-    ALOGE("FATAL: access(%s, F_OK) -> %d [%d:%s]", path, v, errno, strerror(errno));
-    abort();  // can only hit this if permissions (likely selinux) are screwed up
-}
-
 // Networking-related program types are limited to the Tethering Apex
 // to prevent things from breaking due to conflicts on mainline updates
 // (exception made for socket filters, ie. xt_bpf for potential use in iptables,