Commit 86de3bbf authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Vinod Koul

dmaengine: sh: rz-dmac: Remove unused rz_dmac_chan.*_word_size

The src_word_size and dst_word_size members of the rz_dmac_chan
structure were never used, so they can be removed.
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarBiju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/021bdf56f1716276a55bcfb1ea81bba5f1d42b3d.1679910274.git.geert+renesas@glider.beSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 9f0d99b3
...@@ -67,8 +67,6 @@ struct rz_dmac_chan { ...@@ -67,8 +67,6 @@ struct rz_dmac_chan {
struct rz_dmac_desc *desc; struct rz_dmac_desc *desc;
int descs_allocated; int descs_allocated;
enum dma_slave_buswidth src_word_size;
enum dma_slave_buswidth dst_word_size;
dma_addr_t src_per_address; dma_addr_t src_per_address;
dma_addr_t dst_per_address; dma_addr_t dst_per_address;
...@@ -603,9 +601,7 @@ static int rz_dmac_config(struct dma_chan *chan, ...@@ -603,9 +601,7 @@ static int rz_dmac_config(struct dma_chan *chan,
u32 val; u32 val;
channel->src_per_address = config->src_addr; channel->src_per_address = config->src_addr;
channel->src_word_size = config->src_addr_width;
channel->dst_per_address = config->dst_addr; channel->dst_per_address = config->dst_addr;
channel->dst_word_size = config->dst_addr_width;
val = rz_dmac_ds_to_val_mapping(config->dst_addr_width); val = rz_dmac_ds_to_val_mapping(config->dst_addr_width);
if (val == CHCFG_DS_INVALID) if (val == CHCFG_DS_INVALID)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment