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)
commit5a7bb7ce26a98d52190086ae6174becedf03bf43
treefa0ffa8efca4e99e2eaba899d34771cb04a09185
parent163a7cdd1f30122d6743d4dc5a3481b0fb914d58
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