From a5d74599366af171f98577d1d774a45f0cd6294b Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 21 Nov 2014 23:35:36 -0800 Subject: [PATCH] We HAVE_LITTLE_ENDIAN. Change-Id: I68551ad663f2649a06b1958e9bef152e6d026e72 --- libs/binder/Debug.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libs/binder/Debug.cpp b/libs/binder/Debug.cpp index 0ffafbbeb..bdb7182cc 100644 --- a/libs/binder/Debug.cpp +++ b/libs/binder/Debug.cpp @@ -220,13 +220,8 @@ void printHexData(int32_t indent, const void *buf, size_t length, for (word = 0; word < bytesPerLine; ) { -#ifdef HAVE_LITTLE_ENDIAN const size_t startIndex = word+(alignment-(alignment?1:0)); const ssize_t dir = -1; -#else - const size_t startIndex = word; - const ssize_t dir = 1; -#endif for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) {