From f9eff38d9b45a10920cecd5a16ab1dde9a740e59 Mon Sep 17 00:00:00 2001 From: Chenbo Feng Date: Tue, 11 Dec 2018 14:15:57 -0800 Subject: [PATCH] Delete unused import The hasBpfSupport() check from BpfUtils is not used by the native helper in framework. Remove them. Bug: 111441138 Test: Build without failure. Change-Id: Icdd01bf1a03efd7883e4939d0d730303ec1004e7 --- core/jni/com_android_internal_net_NetworkStatsFactory.cpp | 1 - services/core/jni/com_android_server_net_NetworkStatsService.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/core/jni/com_android_internal_net_NetworkStatsFactory.cpp b/core/jni/com_android_internal_net_NetworkStatsFactory.cpp index b708735616..24bafca9c3 100644 --- a/core/jni/com_android_internal_net_NetworkStatsFactory.cpp +++ b/core/jni/com_android_internal_net_NetworkStatsFactory.cpp @@ -35,7 +35,6 @@ #include "bpf/BpfUtils.h" #include "netdbpf/BpfNetworkStats.h" -using android::bpf::hasBpfSupport; using android::bpf::parseBpfNetworkStatsDetail; using android::bpf::stats_line; diff --git a/services/core/jni/com_android_server_net_NetworkStatsService.cpp b/services/core/jni/com_android_server_net_NetworkStatsService.cpp index 649f1a56f0..4d4a7b4164 100644 --- a/services/core/jni/com_android_server_net_NetworkStatsService.cpp +++ b/services/core/jni/com_android_server_net_NetworkStatsService.cpp @@ -34,7 +34,6 @@ #include "netdbpf/BpfNetworkStats.h" using android::bpf::Stats; -using android::bpf::hasBpfSupport; using android::bpf::bpfGetUidStats; using android::bpf::bpfGetIfaceStats;