Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22cb45d7 authored by YueHaibing's avatar YueHaibing Committed by Konrad Rzeszutek Wilk
Browse files

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: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent 60513ed0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -682,7 +682,7 @@ swiotlb_dma_supported(struct device *hwdev, u64 mask)

static int __init swiotlb_create_debugfs(void)
{
	static struct dentry *d_swiotlb_usage;
	struct dentry *d_swiotlb_usage;
	struct dentry *ent;

	d_swiotlb_usage = debugfs_create_dir("swiotlb", NULL);