summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-10-25 17:44:59 +0000
committerphk <phk@FreeBSD.org>1998-10-25 17:44:59 +0000
commit13c66194f4b66073c693cdb830b5091d9d735e17 (patch)
tree6fad3c4a8f13b0ab244bebf9795bb095be5ee8d7 /sys/ufs
parentb17bde009a29901e8647e3d0c680a716f3526a2d (diff)
downloadFreeBSD-src-13c66194f4b66073c693cdb830b5091d9d735e17.zip
FreeBSD-src-13c66194f4b66073c693cdb830b5091d9d735e17.tar.gz
Nitpicking and dusting performed on a train. Removes trivial warnings
about unused variables, labels and other lint.
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/ffs_inode.c4
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c6
2 files changed, 4 insertions, 6 deletions
diff --git a/sys/ufs/ffs/ffs_inode.c b/sys/ufs/ffs/ffs_inode.c
index d990b2f..353bcd8 100644
--- a/sys/ufs/ffs/ffs_inode.c
+++ b/sys/ufs/ffs/ffs_inode.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ffs_inode.c 8.13 (Berkeley) 4/21/95
- * $Id: ffs_inode.c,v 1.46 1998/07/04 20:45:38 julian Exp $
+ * $Id: ffs_inode.c,v 1.47 1998/09/15 14:45:28 luoqi Exp $
*/
#include "opt_quota.h"
@@ -144,7 +144,7 @@ ffs_truncate(vp, length, flags, cred, p)
register struct fs *fs;
struct buf *bp;
int offset, size, level;
- long count, nblocks, vflags, blocksreleased = 0;
+ long count, nblocks, blocksreleased = 0;
struct timeval tv;
register int i;
int aflags, error, allerror;
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index d06fee6..56f2070 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ffs_vfsops.c 8.31 (Berkeley) 5/20/95
- * $Id: ffs_vfsops.c,v 1.87 1998/09/14 19:56:41 sos Exp $
+ * $Id: ffs_vfsops.c,v 1.88 1998/09/26 04:59:42 bde Exp $
*/
#include "opt_quota.h"
@@ -576,12 +576,10 @@ ffs_mountfs(devvp, mp, p, malloctype)
register struct ufsmount *ump;
struct buf *bp;
register struct fs *fs;
- struct cg *cgp;
dev_t dev;
struct partinfo dpart;
- struct csum cstotal;
caddr_t base, space;
- int error, i, cyl, blks, size, ronly;
+ int error, i, blks, size, ronly;
int32_t *lp;
struct ucred *cred;
u_int64_t maxfilesize; /* XXX */
OpenPOWER on IntegriCloud