From 1d1dc57558d5a882c302852575ce2a15764f5124 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Tue, 18 Dec 2018 14:02:42 -0800 Subject: [PATCH] Remove unused using decls. Bug: 121209395 Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,misc-unused-using-decls Change-Id: I45cb2a1ee87597d99ac46e638d4d47dec130bd75 --- net/nl80211_packet.cpp | 2 -- scanning/offload/offload_scan_manager.cpp | 2 -- scanning/offload_scan_callback_interface_impl.cpp | 1 - scanning/scanner_impl.cpp | 2 -- 4 files changed, 7 deletions(-) diff --git a/net/nl80211_packet.cpp b/net/nl80211_packet.cpp index 900aadd..8140ef1 100644 --- a/net/nl80211_packet.cpp +++ b/net/nl80211_packet.cpp @@ -18,8 +18,6 @@ #include -using std::make_unique; -using std::unique_ptr; using std::vector; namespace android { diff --git a/scanning/offload/offload_scan_manager.cpp b/scanning/offload/offload_scan_manager.cpp index 9bcbb0f..f4c4076 100644 --- a/scanning/offload/offload_scan_manager.cpp +++ b/scanning/offload/offload_scan_manager.cpp @@ -25,7 +25,6 @@ #include "wificond/scanning/offload/scan_stats.h" #include "wificond/scanning/scan_result.h" -using ::android::hardware::hidl_vec; using android::hardware::wifi::offload::V1_0::IOffload; using android::hardware::wifi::offload::V1_0::ScanResult; using android::hardware::wifi::offload::V1_0::ScanFilter; @@ -34,7 +33,6 @@ using android::hardware::wifi::offload::V1_0::ScanStats; using android::hardware::wifi::offload::V1_0::OffloadStatus; using android::hardware::wifi::offload::V1_0::OffloadStatusCode; -using android::wificond::OffloadCallback; using ::com::android::server::wifi::wificond::NativeScanResult; using ::com::android::server::wifi::wificond::NativeScanStats; using std::vector; diff --git a/scanning/offload_scan_callback_interface_impl.cpp b/scanning/offload_scan_callback_interface_impl.cpp index a3e39da..53060b6 100644 --- a/scanning/offload_scan_callback_interface_impl.cpp +++ b/scanning/offload_scan_callback_interface_impl.cpp @@ -18,7 +18,6 @@ #include -using com::android::server::wifi::wificond::NativeScanResult; namespace android { namespace wificond { diff --git a/scanning/scanner_impl.cpp b/scanning/scanner_impl.cpp index 6a5b82d..2e13475 100644 --- a/scanning/scanner_impl.cpp +++ b/scanning/scanner_impl.cpp @@ -30,13 +30,11 @@ using android::binder::Status; using android::net::wifi::IPnoScanEvent; using android::net::wifi::IScanEvent; using android::net::wifi::IWifiScannerImpl; -using android::hardware::wifi::offload::V1_0::IOffload; using android::sp; using com::android::server::wifi::wificond::NativeScanResult; using com::android::server::wifi::wificond::PnoSettings; using com::android::server::wifi::wificond::SingleScanSettings; -using std::pair; using std::string; using std::vector; using std::weak_ptr;