]> 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)
commit44ee4048ec149e18049a7d967b8af0d76d3cd39e
treefa0ffa8efca4e99e2eaba899d34771cb04a09185
parentc39339ecb096d8d12cc5f9c04b7938cdfea44ea3
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