From: Zachary Waldowski Date: Thu, 9 Jan 2014 18:50:17 +0000 (-0500) Subject: AArch64: Remove duplicitous element_count call. X-Git-Tag: v3.1~57^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a0f12ce1f7be81006b08a3c81a636926d283a9b;p=platform%2Fupstream%2Flibffi.git AArch64: Remove duplicitous element_count call. This inhibits an analyzer warning by Clang. --- diff --git a/src/aarch64/ffi.c b/src/aarch64/ffi.c index 9db6dca..9dbf277 100644 --- a/src/aarch64/ffi.c +++ b/src/aarch64/ffi.c @@ -556,7 +556,6 @@ copy_hfa_to_reg_or_stack (void *memory, { int i; unsigned short type = get_homogeneous_type (ty); - unsigned elems = element_count (ty); for (i = 0; i < elems; i++) { void *reg = allocate_to_v (context, state);