Cleanup unused variables

This commit is contained in:
Ingmar Jager 2024-09-25 17:22:51 +02:00
parent bfda351452
commit c10ac68c2e

View File

@ -538,8 +538,6 @@ impl<'d, T: Instance> ChannelOut for Channel<'d, T, Out> {
let options: TransferOptions = options.into().unwrap_or_default(); let options: TransferOptions = options.into().unwrap_or_default();
let regs = T::regs();
let regs = T::regs(); let regs = T::regs();
let epr = regs.epr(index); let epr = regs.epr(index);
@ -572,7 +570,6 @@ impl<'d, T: Instance> ChannelOut for Channel<'d, T, Out> {
} }
} }
let regs = T::regs();
let stat = epr.read().stat_tx(); let stat = epr.read().stat_tx();
match stat { match stat {
Stat::DISABLED => Poll::Ready(Ok(())), Stat::DISABLED => Poll::Ready(Ok(())),