dma-pool: no need to check return value of debugfs_create functions
authorTiezhu Yang <yangtiezhu@loongson.cn>
Sat, 7 Nov 2020 10:03:12 +0000 (18:03 +0800)
committerChristoph Hellwig <hch@lst.de>
Fri, 27 Nov 2020 09:33:42 +0000 (10:33 +0100)
commit94035edcb4e3bbc9f445bee706722ef64e044095
tree2f3c6cfa6c1f930ae23d97f169a85f65645a089f
parentbf6e2d562bbc4d115cf322b0bca57fe5bbd26f48
dma-pool: no need to check return value of debugfs_create functions

When calling debugfs functions, there is no need to ever check the
return value.  The function can work or not, but the code logic should
never do something different based on this.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
kernel/dma/pool.c