Messages in this thread | | | From | Sergey Matyukevich <> | Subject | Re: [PATCH] quantenna: no need to check return value of debugfs_create functions | Date | Wed, 23 Jan 2019 10:42:58 +0000 |
| |
> 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. > > Cc: Igor Mitsyanko <imitsyanko@quantenna.com> > Cc: Avinash Patil <avinashp@quantenna.com> > Cc: Sergey Matyukevich <smatyukevich@quantenna.com> > Cc: Kalle Valo <kvalo@codeaurora.org> > Cc: linux-wireless@vger.kernel.org > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > --- > drivers/net/wireless/quantenna/qtnfmac/debug.c | 14 +------------- > 1 file changed, 1 insertion(+), 13 deletions(-)
Reviewed-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Regards, Sergey
| |