aboutsummaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorHongbo Li <[email protected]>2024-08-28 20:23:36 +0800
committerJakub Kicinski <[email protected]>2024-08-29 11:42:24 -0700
commit4266563afbb1eb1735aa7063fe8ff6377991ae42 (patch)
treeb36999dc79d606ced4b64366da37bb113edfd51b /scripts/rustdoc_test_builder.rs
parent9023fda2f186168e45bb8e7397ad15ff17fd7bf8 (diff)
net: hns: Use IS_ERR_OR_NULL() helper function
Use the IS_ERR_OR_NULL() helper instead of open-coding a NULL and an error pointer checks to simplify the code and improve readability. Signed-off-by: Hongbo Li <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions