Skip to content

Commit

Permalink
Remove unnecessary PhantomData
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Oct 4, 2024
1 parent 8ce8d02 commit 34729a1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions esp-hal/src/spi/master.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1371,8 +1371,6 @@ mod dma {
{
spi_dma: ManuallyDrop<SpiDma<'d, T, C, D, M>>,
dma_buf: ManuallyDrop<Buf>,

_marker: PhantomData<&'d ()>,
}

impl<'d, T, C, D, M, Buf> SpiDmaTransfer<'d, T, C, D, M, Buf>
Expand All @@ -1387,7 +1385,6 @@ mod dma {
Self {
spi_dma: ManuallyDrop::new(spi_dma),
dma_buf: ManuallyDrop::new(dma_buf),
_marker: PhantomData,
}
}

Expand Down

0 comments on commit 34729a1

Please sign in to comment.