lkml.org 
[lkml]   [2021]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2021-07-28 08:53    [W:0.054 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site