summaryrefslogtreecommitdiffstats
path: root/libs/binder/Debug.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-11-21 23:35:36 -0800
committerElliott Hughes <enh@google.com>2014-11-21 23:35:36 -0800
commita5d74599366af171f98577d1d774a45f0cd6294b (patch)
tree5a36d6fd97439eb9218f16cc949b9f94065f046a /libs/binder/Debug.cpp
parent754f16fcf4b56f52450f91e3e840bad8a2cc997c (diff)
downloadframeworks_native-a5d74599366af171f98577d1d774a45f0cd6294b.zip
frameworks_native-a5d74599366af171f98577d1d774a45f0cd6294b.tar.gz
frameworks_native-a5d74599366af171f98577d1d774a45f0cd6294b.tar.bz2
We HAVE_LITTLE_ENDIAN.
Change-Id: I68551ad663f2649a06b1958e9bef152e6d026e72
Diffstat (limited to 'libs/binder/Debug.cpp')
-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 0ffafbb..bdb7182 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++) {