Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/021bdf56f1716276a55bcfb1ea81bba5f1d42b3d.1679910274.git.geert+renesas@glider.be
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Geert Uytterhoeven and committed by
Vinod Koul
86de3bbf 9f0d99b3

-4
-4
drivers/dma/sh/rz-dmac.c
··· 67 67 struct rz_dmac_desc *desc; 68 68 int descs_allocated; 69 69 70 - enum dma_slave_buswidth src_word_size; 71 - enum dma_slave_buswidth dst_word_size; 72 70 dma_addr_t src_per_address; 73 71 dma_addr_t dst_per_address; 74 72 ··· 601 603 u32 val; 602 604 603 605 channel->src_per_address = config->src_addr; 604 - channel->src_word_size = config->src_addr_width; 605 606 channel->dst_per_address = config->dst_addr; 606 - channel->dst_word_size = config->dst_addr_width; 607 607 608 608 val = rz_dmac_ds_to_val_mapping(config->dst_addr_width); 609 609 if (val == CHCFG_DS_INVALID)