]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Jul 2019 07:01:42 +0000 (09:01 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Jul 2019 11:30:43 +0000 (13:30 +0200)
commit9053d617c9b761a3cac3e64f5da45fca0647c518
tree5283896bf43ec3e9c70a6ed9d9ab04f9ea9c7193
parentb951b96589bdfae71bcbda871f68c688d7100fce
cfg80211: 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.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20190703070142.GA29993@kroah.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.c