[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YQD+ncEBh4TiM406@matsya>
Date: Wed, 28 Jul 2021 12:22:13 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: wangzhou1@...ilicon.com, dmaengine@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] dmaengine: hisi_dma: Remove some useless code
On 16-06-21, 22:34, Christophe JAILLET wrote:
> 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.
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists