Re: [PATCH -next] swiotlb: drop pointless static qualifier in swiotlb_dma_supported()

From: Christoph Hellwig
Date: Thu Feb 14 2019 - 02:27:02 EST


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.