[PATCH v7 070/104] tests/tcg/or1k/test_muli.c: remove set but unused variable
Pierrick Bouvier <[email protected]>
| Newsgroups | gmane.comp.emulators.qemu |
|---|---|
| Message-ID | <[email protected]> |
Tested-by: Alex Bennée <[email protected]> Tested-by: Aniket Sahu <[email protected]> Signed-off-by: Pierrick Bouvier <[email protected]> --- tests/tcg/or1k/test_muli.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/tcg/or1k/test_muli.c b/tests/tcg/or1k/test_muli.c index f1042e98dec..cfb6b3df251 100644 --- a/tests/tcg/or1k/test_muli.c +++ b/tests/tcg/or1k/test_muli.c @@ -2,11 +2,10 @@ int main(void) { - int a, b, c; + int a, b; int result; b = 0x4; - c = 0x1; result = 0x4; __asm ("l.muli %0, %1, 0x1\n\t" @@ -19,7 +18,6 @@ int main(void) } b = 0x1; - c = 0x0; result = 0x0; __asm ("l.muli %0, %1, 0x0\n\t" @@ -32,7 +30,6 @@ int main(void) } b = 0x1; - c = 0xff; result = 0xff; __asm ("l.muli %0, %1, 0xff\n\t" -- 2.43.0