summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-11-22 07:49:31 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-11-22 07:49:32 +0000
commite0f91c3731b16b010eb31117e941e5468bdfeb2e (patch)
tree5a36d6fd97439eb9218f16cc949b9f94065f046a
parent754f16fcf4b56f52450f91e3e840bad8a2cc997c (diff)
parenta5d74599366af171f98577d1d774a45f0cd6294b (diff)
downloadnative-e0f91c3731b16b010eb31117e941e5468bdfeb2e.tar.gz
Merge "We HAVE_LITTLE_ENDIAN."
-rw-r--r--libs/binder/Debug.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/libs/binder/Debug.cpp b/libs/binder/Debug.cpp
index 0ffafbbeb4..bdb7182cc0 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++) {