Re: [PATCH -next] swiotlb: drop pointless static qualifier in swiotlb_dma_supported()
From: YueHaibing
Date: Thu Feb 14 2019 - 03:39:41 EST
On 2019/2/14 15:26, Christoph Hellwig wrote:
> On Thu, Feb 14, 2019 at 01:41:47AM +0000, YueHaibing wrote:
>> There is no need to have the 'struct dentry *d_swiotlb_usage' variable
>> static since new value always be assigned before use it.
>
> FYI, this is in swiotlb_create_debugfs, not swiotlb_dma_supported.
Thank you, I will fix it.
>
> .
>