summaryrefslogtreecommitdiffstats
path: root/libgralloc/framebuffer.cpp
diff options
context:
space:
mode:
authorNaseer Ahmed <naseer@codeaurora.org>2015-11-02 20:34:29 -0500
committerNaseer Ahmed <naseer@codeaurora.org>2015-11-03 08:02:01 -0500
commitb8ecfbf5a7106bb57f55921da76c1f3e1e897b42 (patch)
tree2cfc1d1bcfaee761561a375f0dc89889f947cd06 /libgralloc/framebuffer.cpp
parentefd6a3531638a2ed1b0de49b7f5b2a7f8035b3f5 (diff)
downloadhardware_qcom_display-b8ecfbf5a7106bb57f55921da76c1f3e1e897b42.tar.gz
hardware_qcom_display-b8ecfbf5a7106bb57f55921da76c1f3e1e897b42.tar.bz2
hardware_qcom_display-b8ecfbf5a7106bb57f55921da76c1f3e1e897b42.zip
display: Enable clang for all display modules
Change-Id: I71e3fa3f7d44253b8e01d1eafe086b1898d65a8e
Diffstat (limited to 'libgralloc/framebuffer.cpp')
-rw-r--r--libgralloc/framebuffer.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/libgralloc/framebuffer.cpp b/libgralloc/framebuffer.cpp
index 0ebc3dbad..5c297c1f8 100644
--- a/libgralloc/framebuffer.cpp
+++ b/libgralloc/framebuffer.cpp
@@ -43,14 +43,6 @@
#include <profiler.h>
#define EVEN_OUT(x) if (x & 0x0001) {x--;}
-/** min of int a, b */
-static inline int min(int a, int b) {
- return (a<b) ? a : b;
-}
-/** max of int a, b */
-static inline int max(int a, int b) {
- return (a>b) ? a : b;
-}
enum {
PAGE_FLIP = 0x00000001,