Skip to content
Commit dc9bf700 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

nfsd4: remove redundant "if" in nfs4_preprocess_stateid_op



Note that we exit this first big "if" with stp == NULL if and only if we
took the first branch; therefore, the second "if" is redundant, and we
can just combine the two, simplifying the logic.

Reviewed-by: default avatarYang Hongyang <yanghy@cn.fujitsu.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent 0c2a498f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment