forked from OSchip/llvm-project
builtins: fix -Werror,-Wunused-variable warning
This removes the unused variable `flags`. NFC llvm-svn: 266892
This commit is contained in:
parent
28e1b977d4
commit
de120799a0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue