]> git.baikalelectronics.ru Git - kernel.git/commit
swiotlb: drop pointless static qualifier in swiotlb_create_debugfs()
authorYueHaibing <yuehaibing@huawei.com>
Thu, 14 Feb 2019 09:04:08 +0000 (09:04 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Sat, 16 Feb 2019 16:36:34 +0000 (11:36 -0500)
commit1b0e5a87313c7b87173afe344ad57ad66c7a2819
tree030a07e836cc8a2dbd8ad1eeca34def7e6692863
parent85d4418f4e34c14770c238aeb9941c6357cdc270
swiotlb: drop pointless static qualifier in swiotlb_create_debugfs()

There is no need to have the 'struct dentry *d_swiotlb_usage' variable
static since new value always be assigned before use it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
kernel/dma/swiotlb.c