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

From: Kalle Valo <[email-masked]>
Date: Mon, 4 May 2020 09:50:42 +0000 (UTC)

Greg Kroah-Hartman <[email-masked]> 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 paying attention to the return value.
> 
> Cc: Arend van Spriel <[email-masked]>
> Cc: Franky Lin <[email-masked]>
> Cc: Hante Meuleman <[email-masked]>
> Cc: Chi-Hsien Lin <[email-masked]>
> Cc: Wright Feng <[email-masked]>
> Cc: Kalle Valo <[email-masked]>
> Cc: "David S. Miller" <[email-masked]>
> Cc: Pieter-Paul Giesberts <[email-masked]>
> Cc: Greg Kroah-Hartman <[email-masked]>
> Cc: "Rafał Miłecki" <[email-masked]>
> Cc: [email-masked]
> Cc: [email-masked]
> Cc: [email-masked]
> Cc: [email-masked]
> Cc: [email-masked]
> Signed-off-by: Greg Kroah-Hartman <[email-masked]>
> Acked-by: Arend van Spriel <[email-masked]>

Patch applied to wireless-drivers-next.git, thanks.

ea1b3bc6d5ad brcmfmac: no need to check return value of debugfs_create functions

-- 
https://patchwork.kernel.org/patch/11516617/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches