nfsd: remove redundant test from nfsd_reply_cache_free
authorJeff Layton <jlayton@redhat.com>
Mon, 28 Jan 2013 19:41:12 +0000 (14:41 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 4 Feb 2013 14:16:22 +0000 (09:16 -0500)
commit25e6b8b0e1a247747db5275b1b6b362f5acf2245
tree89f9f8b7553581978555a81bce873cab807d3f01
parentf09841fdfad8dd95593725dfa70388f55b170947
nfsd: remove redundant test from nfsd_reply_cache_free

Entries can only get a c_type of RC_REPLBUFF iff they are
RC_DONE. Therefore the test for RC_DONE isn't necessary here.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfscache.c