]> asedeno.scripts.mit.edu Git - linux.git/commit
gcov: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 15:21:48 +0000 (16:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2019 14:18:12 +0000 (16:18 +0200)
commit1c769fc41ac574e4957a6a874334eed1631e5f59
tree748c183d885000d716b74320ac5cafc031189b1b
parent0fc811e5d7f9095f4a5732a34a19eff49fcb3ad6
gcov: 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 dentry variable as it is never needed.

Acked-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/gcov/fs.c