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

2020-05-04 Thread Kalle Valo
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. > > In doing this, make brcmf_debugfs_add_entry() return void as no one was > even

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

2020-04-29 Thread Arend Van Spriel
On 4/29/2020 12:15 PM, 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. In doing this, make brcmf_debugfs_add_entry() return void as no o

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

2020-04-29 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. In doing this, make brcmf_debugfs_add_entry() return void as no one was even paying attention to the return value.