summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorAnna Schumaker <anna.schumaker@oracle.com>2024-10-01 23:33:43 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2024-11-08 22:17:37 +0300
commit3c91e4b7ae902bd5c05c14ff6fe74acd0bdd237a (patch)
tree780aff70cf5397194c7d7802c85a03e21dc971fe /scripts/lib/kdoc/kdoc_files.py
parentdf50b5ee0564412e4570abae7767d9baa5911f23 (diff)
downloadlinux-3c91e4b7ae902bd5c05c14ff6fe74acd0bdd237a.tar.xz
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 <anna.schumaker@oracle.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions