Searched hist:"9 e3926df8779a69f8541c9983c6d19b097671abd" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-debugfs.c | diff 9e3926df8779a69f8541c9983c6d19b097671abd Sat Aug 10 05:17:19 CDT 2019 Greg Kroah-Hartman <gregkh@linuxfoundation.org> xgbe: 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.
This cleans up a lot of unneeded code and logic around the debugfs files, making all of this much simpler and easier to understand.
Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: netdev@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|