diff options
Diffstat (limited to 'gralloc4/src/core/format_info.cpp')
-rw-r--r-- | gralloc4/src/core/format_info.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gralloc4/src/core/format_info.cpp b/gralloc4/src/core/format_info.cpp index fedb9ff..1a8c92e 100644 --- a/gralloc4/src/core/format_info.cpp +++ b/gralloc4/src/core/format_info.cpp @@ -438,12 +438,6 @@ void get_format_dataspace(uint32_t base_format, } -bool is_power2(uint8_t n) -{ - return ((n & (n-1)) == 0); -} - - bool sanitize_formats(void) { bool fail = false; |