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

2019-07-06 Thread Marcel Holtmann
Hi Greg, > 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. > > Because we don't care if debugfs works or not, this trickles back a bit > so we can clean things

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

2019-06-14 Thread Jukka Rissanen
Hi Greg, Acked-by: Jukka Rissanen Cheers, Jukka On Fri, 2019-06-14 at 09:14 +0200, 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 th

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

2019-06-14 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. Because we don't care if debugfs works or not, this trickles back a bit so we can clean things up by making some fun