]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
nfsd4: skip unused assignment
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 6 Nov 2018 22:44:03 +0000 (17:44 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 27 Nov 2018 21:24:01 +0000 (16:24 -0500)
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c

index 4cbf725cdcba945dede16a6df724cd7b9c39b0c8..50ca28eeebb6475148e51c1a3ffde0db0e8eda6f 100644 (file)
@@ -1345,7 +1345,7 @@ static __be32
 nfsd4_fallocate(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
                struct nfsd4_fallocate *fallocate, int flags)
 {
-       __be32 status = nfserr_notsupp;
+       __be32 status;
        struct file *file;
 
        status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh,