Re: [PATCH 04/17] xgbe: no need to check return value of debugfs_create functions

2019-08-06 Thread Lendacky, Thomas
On 8/6/19 11:11 AM, Greg Kroah-Hartman wrote: > 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 d

[PATCH 04/17] xgbe: no need to check return value of debugfs_create functions

2019-08-06 Thread Greg Kroah-Hartman
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