diff options
author | gpalmer <gpalmer@FreeBSD.org> | 1996-06-12 05:11:41 +0000 |
---|---|---|
committer | gpalmer <gpalmer@FreeBSD.org> | 1996-06-12 05:11:41 +0000 |
commit | 57c3ebc617f6ed31240847c6fce74931a372824c (patch) | |
tree | c727af841ff654969571e10a8dc92e2a987cd0c2 /sys/miscfs | |
parent | d356aa8b627cecbc5a3a5e98327366686498962d (diff) | |
download | FreeBSD-src-57c3ebc617f6ed31240847c6fce74931a372824c.zip FreeBSD-src-57c3ebc617f6ed31240847c6fce74931a372824c.tar.gz |
Clean up -Wunused warnings.
Reviewed by: bde
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/fdesc/fdesc_vnops.c | 13 | ||||
-rw-r--r-- | sys/miscfs/portal/portal_vnops.c | 13 |
2 files changed, 2 insertions, 24 deletions
diff --git a/sys/miscfs/fdesc/fdesc_vnops.c b/sys/miscfs/fdesc/fdesc_vnops.c index c563298..27adb43 100644 --- a/sys/miscfs/fdesc/fdesc_vnops.c +++ b/sys/miscfs/fdesc/fdesc_vnops.c @@ -35,7 +35,7 @@ * * @(#)fdesc_vnops.c 8.9 (Berkeley) 1/21/94 * - * $Id: fdesc_vnops.c,v 1.15 1995/12/08 11:17:40 julian Exp $ + * $Id: fdesc_vnops.c,v 1.16 1996/06/12 03:37:02 davidg Exp $ */ /* @@ -98,7 +98,6 @@ static struct fdcache * static int fdesc_inactive __P((struct vop_inactive_args *ap)); static int fdesc_ioctl __P((struct vop_ioctl_args *ap)); static int fdesc_lookup __P((struct vop_lookup_args *ap)); -static int fdesc_nullop __P((void)); static int fdesc_open __P((struct vop_open_args *ap)); static int fdesc_pathconf __P((struct vop_pathconf_args *ap)); static int fdesc_print __P((struct vop_print_args *ap)); @@ -925,16 +924,6 @@ fdesc_badop() /* NOTREACHED */ } -/* - * /dev/fd vnode null operation - */ -static int -fdesc_nullop() -{ - - return (0); -} - #define fdesc_create ((int (*) __P((struct vop_create_args *)))fdesc_enotsupp) #define fdesc_mknod ((int (*) __P((struct vop_mknod_args *)))fdesc_enotsupp) #define fdesc_close ((int (*) __P((struct vop_close_args *)))nullop) diff --git a/sys/miscfs/portal/portal_vnops.c b/sys/miscfs/portal/portal_vnops.c index fcd5958..e1ae904 100644 --- a/sys/miscfs/portal/portal_vnops.c +++ b/sys/miscfs/portal/portal_vnops.c @@ -35,7 +35,7 @@ * * @(#)portal_vnops.c 8.8 (Berkeley) 1/21/94 * - * $Id: portal_vnops.c,v 1.11 1996/02/13 18:16:25 wollman Exp $ + * $Id: portal_vnops.c,v 1.12 1996/06/12 03:37:29 davidg Exp $ */ /* @@ -72,7 +72,6 @@ static int portal_enotsupp __P((void)); static int portal_getattr __P((struct vop_getattr_args *ap)); static int portal_inactive __P((struct vop_inactive_args *ap)); static int portal_lookup __P((struct vop_lookup_args *ap)); -static int portal_nullop __P((void)); static int portal_open __P((struct vop_open_args *ap)); static int portal_pathconf __P((struct vop_pathconf_args *ap)); static int portal_print __P((struct vop_print_args *ap)); @@ -630,16 +629,6 @@ portal_badop() /* NOTREACHED */ } -/* - * Portal vnode null operation - */ -static int -portal_nullop() -{ - - return (0); -} - #define portal_create ((int (*) __P((struct vop_create_args *)))portal_enotsupp) #define portal_mknod ((int (*) __P((struct vop_mknod_args *)))portal_enotsupp) #define portal_close ((int (*) __P((struct vop_close_args *)))nullop) |