]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Jun 2019 06:59:34 +0000 (08:59 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 14 Jun 2019 14:08:28 +0000 (16:08 +0200)
commit38c5da2d23e729f7720694e5a488541846cc36fd
treefa0ffa8efca4e99e2eaba899d34771cb04a09185
parent502ca37c86ade6dcb120c9c266ca266e62af49bc
mac80211: 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: Johannes Berg <johannes@sipsolutions.net>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/debugfs_key.c
net/mac80211/debugfs_netdev.c
net/mac80211/debugfs_sta.c