diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-22 16:21:38 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-02-01 10:02:32 +0100 |
commit | 8e4d81b98b7859b120dd142c8634f625db118b30 (patch) | |
tree | ec36145b9a36693a06e3a286980f67af40d5295d /drivers/xen/xen-front-pgdir-shbuf.c | |
parent | 55ea54441fb3b6532d5d32417911ff5a10750903 (diff) | |
download | linux-8e4d81b98b7859b120dd142c8634f625db118b30.tar.bz2 |
dma: debug: 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.
Also delete the variables for the file dentries for the debugfs entries
as they are never used at all once they are created.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
[hch: moved dma_debug_dent to function scope and renamed it]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/xen/xen-front-pgdir-shbuf.c')
0 files changed, 0 insertions, 0 deletions