arm sp804: Remove unused variables.

This commit is contained in:
John Baldwin
2022-04-13 16:08:22 -07:00
parent 09f2892eee
commit 9ad5422f27
+1 -4
View File
@@ -167,12 +167,9 @@ static int
sp804_timer_intr(void *arg)
{
struct sp804_timer_softc *sc = arg;
static uint32_t prev = 0;
uint32_t x = 0;
x = sp804_timer_tc_read_4(SP804_TIMER1_VALUE);
(void)sp804_timer_tc_read_4(SP804_TIMER1_VALUE);
prev =x ;
sp804_timer_tc_write_4(SP804_TIMER2_INTCLR, 1);
if (sc->et_enabled) {
if (sc->et.et_active) {