summaryrefslogtreecommitdiff
path: root/sdm/libs/hwc2/hwc_session_services.cpp
diff options
context:
space:
mode:
authorSaurabh Shah <saurshah@codeaurora.org>2017-12-13 14:10:39 -0800
committerSaurabh Shah <saurshah@codeaurora.org>2018-01-04 15:31:25 -0800
commit546f77bed5ea998572e8b492d8c39c05387c7ce6 (patch)
tree20d06fe197b16a0b45c310a4984c2daf2d34ad33 /sdm/libs/hwc2/hwc_session_services.cpp
parentca16bf276799867fa1a0d39764a9807f797f7df1 (diff)
downloaddisplay-546f77bed5ea998572e8b492d8c39c05387c7ce6.tar.gz
qdutils/hwc: Remove unused code surrounding fps calculations
Remove unused code surrounding fps calculations from qdutils and hwc Change-Id: I1d78a26fdd582ae184fd7367cf692e472283fee1 CRs-fixed: 2157422
Diffstat (limited to 'sdm/libs/hwc2/hwc_session_services.cpp')
-rw-r--r--sdm/libs/hwc2/hwc_session_services.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/sdm/libs/hwc2/hwc_session_services.cpp b/sdm/libs/hwc2/hwc_session_services.cpp
index 4cef8845..69847118 100644
--- a/sdm/libs/hwc2/hwc_session_services.cpp
+++ b/sdm/libs/hwc2/hwc_session_services.cpp
@@ -30,7 +30,6 @@
#include <core/buffer_allocator.h>
#include <utils/debug.h>
#include <sync/sync.h>
-#include <profiler.h>
#include "hwc_buffer_sync_handler.h"
#include "hwc_session.h"
@@ -42,8 +41,8 @@ namespace sdm {
using ::android::hardware::Void;
void HWCSession::StartServices() {
- status_t status = IDisplayConfig::registerAsService();
- if (status != OK) {
+ android::status_t status = IDisplayConfig::registerAsService();
+ if (status != android::OK) {
ALOGW("%s::%s: Could not register IDisplayConfig as service (%d).",
__CLASS__, __FUNCTION__, status);
} else {