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)
commit22cb45d7692ab502dd47dc5a607b3af240ee1e37
tree030a07e836cc8a2dbd8ad1eeca34def7e6692863
parent60513ed06a41049768a6875229b025b6e726e148
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