mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
Cleanup unused variables
This commit is contained in:
parent
bfda351452
commit
c10ac68c2e
@ -538,8 +538,6 @@ impl<'d, T: Instance> ChannelOut for Channel<'d, T, Out> {
|
||||
|
||||
let options: TransferOptions = options.into().unwrap_or_default();
|
||||
|
||||
let regs = T::regs();
|
||||
|
||||
let regs = T::regs();
|
||||
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();
|
||||
match stat {
|
||||
Stat::DISABLED => Poll::Ready(Ok(())),
|
||||
|
Loading…
Reference in New Issue
Block a user