commit | dc9bf700ed2fc3eab50f31000b13fda781e7c9f1 | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@citi.umich.edu> | Sat Feb 21 11:14:43 2009 -0800 |
committer | J. Bruce Fields <bfields@citi.umich.edu> | Wed Mar 18 17:30:52 2009 -0400 |
tree | 902919540f05e9cf175ce0b3942d7c2e12a8a3e2 | |
parent | 0c2a498fa6d33d8ca9c8a0c29039c41e1734cb9e [diff] |
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: Yang Hongyang <yanghy@cn.fujitsu.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>