Remove unnecessary use of atomic-polyfill.

Only use it when CAS is actually needed.
This commit is contained in:
Dario Nieuwenhuis
2022-12-23 20:46:49 +01:00
parent cd9a65ba39
commit 10c9cc31b1
15 changed files with 22 additions and 28 deletions

View File

@@ -329,8 +329,8 @@ pub mod client {
use core::cell::UnsafeCell;
use core::mem::MaybeUninit;
use core::ptr::NonNull;
use core::sync::atomic::{AtomicBool, Ordering};
use atomic_polyfill::{AtomicBool, Ordering};
use embedded_nal_async::IpAddr;
use super::*;