hwc: resolve compiler warnings
- remove unused variables.
- fix incorrect castings.
Change-Id: I7661edb4539a3ffc7d4aedbb9f633bc5ba1dc149
diff --git a/libhwcomposer/hwc_ad.h b/libhwcomposer/hwc_ad.h
index c745b15..3bfde17 100644
--- a/libhwcomposer/hwc_ad.h
+++ b/libhwcomposer/hwc_ad.h
@@ -51,8 +51,8 @@
}
bool isDoable() const { return mDoable; }
bool isModeOn() const { return (mWbFd >= 0); }
- int getDstFd(hwc_context_t *ctx) const;
- uint32_t getDstOffset(hwc_context_t *ctx) const;
+ int getDstFd() const;
+ uint32_t getDstOffset() const;
private:
//State of feature turned on and off