Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / fs / nfsd / nfs4proc.c
index ee4eff2..b0e095e 100644 (file)
@@ -721,12 +721,6 @@ nfsd4_proc_null(struct svc_rqst *rqstp, void *argp, void *resp)
        return nfs_ok;
 }
 
-static inline void nfsd4_increment_op_stats(u32 opnum)
-{
-       if (opnum >= FIRST_NFS4_OP && opnum <= LAST_NFS4_OP)
-               nfsdstats.nfs4_opcount[opnum]++;
-}
-
 
 /*
  * COMPOUND call.
@@ -936,8 +930,6 @@ encode_op:
                /* XXX Ugh, we need to get rid of this kind of special case: */
                if (op->opnum == OP_READ && op->u.read.rd_filp)
                        fput(op->u.read.rd_filp);
-
-               nfsd4_increment_op_stats(op->opnum);
        }
 
 out: