]> git.baikalelectronics.ru Git - kernel.git/commit
wil6210: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jun 2019 19:10:24 +0000 (21:10 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 27 Jun 2019 17:48:24 +0000 (20:48 +0300)
commitb4986c8f3d63453563a5801646de516ee4d4c951
treebb38f9d4f16ff3e500487bfa4c4b428d024a317b
parentea5a286e9541e1eb3f2a8f3348d5575ddca2d6de
wil6210: no need to check return value of debugfs_create functions

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: Maya Erez <merez@codeaurora.org>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-wireless@vger.kernel.org
Cc: wil6210@qti.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/debugfs.c