Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ufs/lfs Remove more unused variables to unbreak the build.



details:   https://anonhg.NetBSD.org/src/rev/6e3bd944b6c2
branches:  trunk
changeset: 788904:6e3bd944b6c2
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sun Jul 28 04:49:03 2013 +0000

description:
Remove more unused variables to unbreak the build.

diffstat:

 sys/ufs/lfs/ulfs_quota2.c |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (74 lines):

diff -r 05e4c52c4124 -r 6e3bd944b6c2 sys/ufs/lfs/ulfs_quota2.c
--- a/sys/ufs/lfs/ulfs_quota2.c Sun Jul 28 04:24:44 2013 +0000
+++ b/sys/ufs/lfs/ulfs_quota2.c Sun Jul 28 04:49:03 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ulfs_quota2.c,v 1.10 2013/07/28 01:22:55 dholland Exp $        */
+/*     $NetBSD: ulfs_quota2.c,v 1.11 2013/07/28 04:49:03 pgoyette Exp $        */
 /*  from NetBSD: ufs_quota2.c,v 1.35 2012/09/27 07:47:56 bouyer Exp  */
 /*  from NetBSD: ffs_quota2.c,v 1.4 2011/06/12 03:36:00 rmind Exp  */
 
@@ -29,7 +29,7 @@
   */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ulfs_quota2.c,v 1.10 2013/07/28 01:22:55 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ulfs_quota2.c,v 1.11 2013/07/28 04:49:03 pgoyette Exp $");
 
 #include <sys/buf.h>
 #include <sys/param.h>
@@ -305,7 +305,6 @@
        struct quota2_entry *q2e;
        daddr_t offset;
        u_long hash_mask;
-       struct lfs *fs = ump->um_lfs;
        const int needswap = ULFS_MPNEEDSWAP(fs);
 
        KASSERT(mutex_owned(&dq->dq_interlock));
@@ -452,7 +451,6 @@
        struct dquot *dq;
        uint64_t ncurblks;
        struct ulfsmount *ump = ip->i_ump;
-       struct lfs *fs = ip->i_lfs;
        struct mount *mp = ump->um_mountp;
        const int needswap = ULFS_MPNEEDSWAP(fs);
        int i;
@@ -590,7 +588,6 @@
        struct quota2_header *q2h;
        struct quota2_entry q2e, *q2ep;
        struct buf *bp;
-       struct lfs *fs = ump->um_lfs;
        const int needswap = ULFS_MPNEEDSWAP(fs);
 
        /* make sure we can index by the fs-independent idtype */
@@ -795,7 +792,6 @@
        int error;
        struct quota2_entry *q2ep;
        struct buf *bp;
-       struct lfs *fs = ump->um_lfs;
        const int needswap = ULFS_MPNEEDSWAP(fs);
 
        error = lfs_dqget(NULLVP, qk->qk_id, ump, qk->qk_idtype, &dq);
@@ -831,7 +827,6 @@
        int error;
        struct quota2_entry *q2ep, q2e;
        struct buf  *bp;
-       struct lfs *fs = ump->um_lfs;
        const int needswap = ULFS_MPNEEDSWAP(fs);
        id_t id2;
 
@@ -870,7 +865,6 @@
        struct quota2_header *q2h;
        struct quota2_entry q2e;
        struct buf *bp;
-       struct lfs *fs = ump->um_lfs;
        const int needswap = ULFS_MPNEEDSWAP(fs);
        id_t id2;
 
@@ -1125,7 +1119,6 @@
     struct q2cursor_state *state,
     int *hashsize_ret, struct quota2_entry *default_q2e_ret)
 {
-       struct lfs *fs = ump->um_lfs;
        const int needswap = ULFS_MPNEEDSWAP(fs);
        struct buf *hbp;
        struct quota2_header *q2h;



Home | Main Index | Thread Index | Old Index