]> git.baikalelectronics.ru Git - kernel.git/commit
fjes: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Jun 2019 07:31:06 +0000 (09:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Jun 2019 23:43:08 +0000 (16:43 -0700)
commit1733fedd3611791f9cff1c95eab9537698c9c124
tree4e79cc1eb370ac33c2efeae8af57f6182a0536af
parent2f6304978c1af2063b564a963518f1c6260f2607
fjes: 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.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Yangtao Li <tiny.windzz@gmail.com>
Cc: netdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fjes/fjes_debugfs.c