From 34729a1c819ddd973b906a2de1187b735a4cc08f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Mon, 30 Sep 2024 15:50:40 +0200 Subject: [PATCH] Remove unnecessary PhantomData --- esp-hal/src/spi/master.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/esp-hal/src/spi/master.rs b/esp-hal/src/spi/master.rs index c70e07b3f4..387568e854 100644 --- a/esp-hal/src/spi/master.rs +++ b/esp-hal/src/spi/master.rs @@ -1371,8 +1371,6 @@ mod dma { { spi_dma: ManuallyDrop>, dma_buf: ManuallyDrop, - - _marker: PhantomData<&'d ()>, } impl<'d, T, C, D, M, Buf> SpiDmaTransfer<'d, T, C, D, M, Buf> @@ -1387,7 +1385,6 @@ mod dma { Self { spi_dma: ManuallyDrop::new(spi_dma), dma_buf: ManuallyDrop::new(dma_buf), - _marker: PhantomData, } }