diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-04-20 17:43:43 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-04-20 17:43:43 +0000 |
commit | de120799a02806f7b88f39e9a934a5c491462158 (patch) | |
tree | 3e915b59c6481f52ed4a1825f372af118ab6df33 /compiler-rt/lib/builtins/clear_cache.c | |
parent | 28e1b977d4694c6b3a5c4d8107570a969be71e77 (diff) | |
download | bcm5719-llvm-de120799a02806f7b88f39e9a934a5c491462158.tar.gz bcm5719-llvm-de120799a02806f7b88f39e9a934a5c491462158.zip |
builtins: fix -Werror,-Wunused-variable warning
This removes the unused variable `flags`. NFC
llvm-svn: 266892
Diffstat (limited to 'compiler-rt/lib/builtins/clear_cache.c')
-rw-r--r-- | compiler-rt/lib/builtins/clear_cache.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler-rt/lib/builtins/clear_cache.c b/compiler-rt/lib/builtins/clear_cache.c index 76efd609d07..55bbdd37589 100644 --- a/compiler-rt/lib/builtins/clear_cache.c +++ b/compiler-rt/lib/builtins/clear_cache.c @@ -110,7 +110,6 @@ void __clear_cache(void *start, void *end) { #elif defined(__linux__) register int start_reg __asm("r0") = (int) (intptr_t) start; const register int end_reg __asm("r1") = (int) (intptr_t) end; - const register int flags __asm("r2") = 0; const register int syscall_nr __asm("r7") = __ARM_NR_cacheflush; __asm __volatile("svc 0x0" : "=r"(start_reg) |