OSDN Git Service

Delete unused import
authorChenbo Feng <fengc@google.com>
Tue, 11 Dec 2018 22:15:57 +0000 (14:15 -0800)
committerChenbo Feng <fengc@google.com>
Thu, 13 Dec 2018 00:46:20 +0000 (00:46 +0000)
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
services/core/jni/com_android_server_net_NetworkStatsService.cpp

index b708735..24bafca 100644 (file)
@@ -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;
 
index 649f1a5..4d4a7b4 100644 (file)
@@ -34,7 +34,6 @@
 #include "netdbpf/BpfNetworkStats.h"
 
 using android::bpf::Stats;
-using android::bpf::hasBpfSupport;
 using android::bpf::bpfGetUidStats;
 using android::bpf::bpfGetIfaceStats;