diff options
author | Li Zetao <lizetao1@huawei.com> | 2023-08-04 12:02:45 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-10-04 15:57:15 +0200 |
commit | a1cb2ffe5fe59b0f5612e5e9148c5311c32f311c (patch) | |
tree | 9e8d175a42141e5c7c8556e26cfa7eca3aa1e43d /drivers/dma | |
parent | dmaengine: Remove unused declaration dma_chan_cleanup() (diff) | |
download | linux-a1cb2ffe5fe59b0f5612e5e9148c5311c32f311c.tar.xz linux-a1cb2ffe5fe59b0f5612e5e9148c5311c32f311c.zip |
dmaengine: fsl-dpaa2-qdma: Remove redundant initialization owner in dpaa2_qdma_driver
The fsl_mc_driver_register() will set "THIS_MODULE" to driver.owner when
register a fsl_mc_driver driver, so it is redundant initialization to set
driver.owner in dpaa2_qdma_driver statement. Remove it for clean code.
Signed-off-by: Li Zetao <lizetao1@huawei.com>
Link: https://lore.kernel.org/r/20230804100245.100068-1-lizetao1@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c b/drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c index a42a37634881..7958ac33e36c 100644 --- a/drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c +++ b/drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c @@ -814,7 +814,6 @@ static const struct fsl_mc_device_id dpaa2_qdma_id_table[] = { static struct fsl_mc_driver dpaa2_qdma_driver = { .driver = { .name = "dpaa2-qdma", - .owner = THIS_MODULE, }, .probe = dpaa2_qdma_probe, .remove = dpaa2_qdma_remove, |