diff options
| author | 2018-12-11 14:15:57 -0800 | |
|---|---|---|
| committer | 2018-12-13 00:46:20 +0000 | |
| commit | 47df5df025176b48141a21a88bdf72c527b6a6d5 (patch) | |
| tree | 25a29bf0ad9c5f00af030ab224e2d22db08b4555 | |
| parent | d4ed663b8005cfc74f263d5c54eec0f8fd67d486 (diff) | |
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
| -rw-r--r-- | core/jni/com_android_internal_net_NetworkStatsFactory.cpp | 1 | ||||
| -rw-r--r-- | services/core/jni/com_android_server_net_NetworkStatsService.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/core/jni/com_android_internal_net_NetworkStatsFactory.cpp b/core/jni/com_android_internal_net_NetworkStatsFactory.cpp index b708735616c4..24bafca9c386 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 649f1a56f011..4d4a7b41643c 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; |