builtins: fix -Werror,-Wunused-variable warning

This removes the unused variable `flags`.  NFC

llvm-svn: 266892
This commit is contained in:
Saleem Abdulrasool 2016-04-20 17:43:43 +00:00
parent 28e1b977d4
commit de120799a0
1 changed files with 0 additions and 1 deletions

View File

@ -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)