diff options
author | Vinod Koul <vkoul@kernel.org> | 2020-10-01 07:48:59 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-10-01 07:48:59 +0300 |
commit | a841592fb3a70bc3f3c2eaa2c1781479a52f76f9 (patch) | |
tree | 9b18939a0d411779e0640e862ac2d1b353b23cb7 /drivers/dma/ioat/init.c | |
parent | da75ba2482658a0d9ea5245fadfea6b464fab7a3 (diff) | |
parent | 86ae924a91a4a4297ad9f47e131f74b1dab6cb7a (diff) | |
download | linux-a841592fb3a70bc3f3c2eaa2c1781479a52f76f9.tar.xz |
Merge branch 'topic/tasklet' into next
Diffstat (limited to 'drivers/dma/ioat/init.c')
-rw-r--r-- | drivers/dma/ioat/init.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/dma/ioat/init.c b/drivers/dma/ioat/init.c index 8a53f5c96b16..191b59279007 100644 --- a/drivers/dma/ioat/init.c +++ b/drivers/dma/ioat/init.c @@ -767,8 +767,6 @@ ioat_init_channel(struct ioatdma_device *ioat_dma, struct ioatdma_chan *ioat_chan, int idx) { struct dma_device *dma = &ioat_dma->dma_dev; - struct dma_chan *c = &ioat_chan->dma_chan; - unsigned long data = (unsigned long) c; ioat_chan->ioat_dma = ioat_dma; ioat_chan->reg_base = ioat_dma->reg_base + (0x80 * (idx + 1)); @@ -778,7 +776,7 @@ ioat_init_channel(struct ioatdma_device *ioat_dma, list_add_tail(&ioat_chan->dma_chan.device_node, &dma->channels); ioat_dma->idx[idx] = ioat_chan; timer_setup(&ioat_chan->timer, ioat_timer_event, 0); - tasklet_init(&ioat_chan->cleanup_task, ioat_cleanup_event, data); + tasklet_setup(&ioat_chan->cleanup_task, ioat_cleanup_event); } #define IOAT_NUM_SRC_TEST 6 /* must be <= 8 */ |