nfsd4: remove redundant "if" in nfs4_preprocess_stateid_op
authorJ. Bruce Fields <bfields@citi.umich.edu>
Sat, 21 Feb 2009 19:14:43 +0000 (11:14 -0800)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 18 Mar 2009 21:30:52 +0000 (17:30 -0400)
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>

No differences found