Re: [PATCH] gfs: no need to check return value of debugfs_create functions

2019-01-23 Thread Andreas Gruenbacher
Greg, On Tue, 22 Jan 2019 at 16:24, 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. > > There is no need to save the dentries for

[PATCH] gfs: no need to check return value of debugfs_create functions

2019-01-22 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. There is no need to save the dentries for the debugfs files, so drop those variables to save a bit of space and