dmaengine: hisi_dma: Remove some useless code
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 16 Jun 2021 20:34:38 +0000 (22:34 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 28 Jul 2021 06:52:05 +0000 (12:22 +0530)
commit26f1ca91d242a506bc4461c5b8f33f457d2608ba
treefdcb3d532894f5f2842eec5bec0ecc4bcd0e5241
parent48594dbf793a15ee1a63ed879691cf436c14f459
dmaengine: hisi_dma: Remove some useless code

When using 'pcim_enable_device()', 'pci_alloc_irq_vectors()' is
auto-magically a managed function.

It is useless (but harmless) to record an action to explicitly call
'pci_free_irq_vectors()'.

So keep things simple, comment why and how these resources are freed, axe
some useless code and save some memory.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/4f8932e2d0d8d092bf60272511100030e013bc72.1623875508.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/hisi_dma.c