aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorAnna Schumaker <[email protected]>2024-10-01 16:33:43 -0400
committerTrond Myklebust <[email protected]>2024-11-08 14:17:37 -0500
commit3c91e4b7ae902bd5c05c14ff6fe74acd0bdd237a (patch)
tree780aff70cf5397194c7d7802c85a03e21dc971fe /tools/perf/scripts/python/syscall-counts.py
parentdf50b5ee0564412e4570abae7767d9baa5911f23 (diff)
NFS: Clean up find_nfs_version()
It's good practice to check the return value of request_module() to see if the module has been found. It's also a little easier to follow the code if __find_nfs_version() doesn't attempt to convert NULL pointers into -EPROTONOSUPPORT. Signed-off-by: Anna Schumaker <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions