Skip to content

Commit b9014a1

Browse files
nathanlynchvinodkoul
authored andcommitted
dmaengine: Remove device_prep_dma_imm_data from struct dma_device
The device_prep_dma_imm_data() method isn't implemented or invoked by any code since commit 80ade22 ("misc: mic: remove the MIC drivers"). Remove it, shrinking struct dma_device by a few bytes. Signed-off-by: Nathan Lynch <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent e7240ab commit b9014a1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/linux/dmaengine.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,6 @@ struct dma_filter {
839839
* The function takes a buffer of size buf_len. The callback function will
840840
* be called after period_len bytes have been transferred.
841841
* @device_prep_interleaved_dma: Transfer expression in a generic way.
842-
* @device_prep_dma_imm_data: DMA's 8 byte immediate data to the dst address
843842
* @device_caps: May be used to override the generic DMA slave capabilities
844843
* with per-channel specific ones
845844
* @device_config: Pushes a new configuration to a channel, return 0 or an error
@@ -942,9 +941,6 @@ struct dma_device {
942941
struct dma_async_tx_descriptor *(*device_prep_interleaved_dma)(
943942
struct dma_chan *chan, struct dma_interleaved_template *xt,
944943
unsigned long flags);
945-
struct dma_async_tx_descriptor *(*device_prep_dma_imm_data)(
946-
struct dma_chan *chan, dma_addr_t dst, u64 data,
947-
unsigned long flags);
948944

949945
void (*device_caps)(struct dma_chan *chan, struct dma_slave_caps *caps);
950946
int (*device_config)(struct dma_chan *chan, struct dma_slave_config *config);

0 commit comments

Comments
 (0)