OSDN Git Service

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)
commitde467c116ca2ffc141d2abf8aef18b360fb19b21
tree4e79cc1eb370ac33c2efeae8af57f6182a0536af
parent438ac88009bcb10f9ced07fbb4b32d5377ee936b
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