summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-03 14:39:56 +0300
committerKalle Valo <kvalo@codeaurora.org>2019-07-24 14:43:09 +0300
commit1dc244064c47d6df7925ca0895f8365e68d3abd1 (patch)
tree318b5a1f5ef48ad79a7df10742b0edb34264c9b4 /tools/perf/scripts/python/check-perf-trace.py
parent3b902fa811cf6bf7f9ad0ffb77d0a133e0b3bd61 (diff)
downloadlinux-1dc244064c47d6df7925ca0895f8365e68d3abd1.tar.xz
rt2x00: 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. Because we don't need to save the individual debugfs files and directories, remove the local storage of them and just remove the entire debugfs directory in a single call, making things a lot simpler. Cc: Stanislaw Gruszka <sgruszka@redhat.com> Cc: Helmut Schaa <helmut.schaa@googlemail.com> Cc: Kalle Valo <kvalo@codeaurora.org> 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> Acked-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions