Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ffs ib_get is not used in the evbarm/OPENRD kernel, ...



details:   https://anonhg.NetBSD.org/src/rev/0e6bdaf790e6
branches:  trunk
changeset: 325295:0e6bdaf790e6
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Dec 17 01:17:39 2013 +0000

description:
ib_get is not used in the evbarm/OPENRD kernel, so mark it as such.

diffstat:

 sys/ufs/ffs/ffs_snapshot.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4aeed710ac47 -r 0e6bdaf790e6 sys/ufs/ffs/ffs_snapshot.c
--- a/sys/ufs/ffs/ffs_snapshot.c        Tue Dec 17 01:00:16 2013 +0000
+++ b/sys/ufs/ffs/ffs_snapshot.c        Tue Dec 17 01:17:39 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_snapshot.c,v 1.131 2013/10/19 19:28:13 martin Exp $        */
+/*     $NetBSD: ffs_snapshot.c,v 1.132 2013/12/17 01:17:39 joerg Exp $ */
 
 /*
  * Copyright 2000 Marshall Kirk McKusick. All Rights Reserved.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_snapshot.c,v 1.131 2013/10/19 19:28:13 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_snapshot.c,v 1.132 2013/12/17 01:17:39 joerg Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ffs.h"
@@ -2297,7 +2297,7 @@
                ip->i_ffs2_db[loc] = ufs_rw64(val, UFS_IPNEEDSWAP(ip));
 }
 
-static inline daddr_t
+__unused static inline daddr_t
 ib_get(struct inode *ip, int loc)
 {
        if (ip->i_ump->um_fstype == UFS1)



Home | Main Index | Thread Index | Old Index