From e26b05cf4407578ef2228805825cd84c08def031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Wed, 14 Dec 2005 00:15:11 +0000 Subject: [PATCH] Nuke vnodeop_desc.vdesc_transports, which has been unused since the dawn of time (or the inception of ncvs, whichever came last) --- sys/sys/vnode.h | 6 ------ sys/tools/vnode_if.awk | 3 +-- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h index 4073e419b99..7b9edad4500 100644 --- a/sys/sys/vnode.h +++ b/sys/sys/vnode.h @@ -451,12 +451,6 @@ struct vnodeop_desc { int vdesc_cred_offset; /* cred location, if any */ int vdesc_thread_offset; /* thread location, if any */ int vdesc_componentname_offset; /* if any */ - /* - * Finally, we've got a list of private data (about each operation) - * for each transport layer. (Support to manage this list is not - * yet part of BSD.) - */ - caddr_t *vdesc_transports; }; #ifdef _KERNEL diff --git a/sys/tools/vnode_if.awk b/sys/tools/vnode_if.awk index 8c992fee292..845f36b09a1 100644 --- a/sys/tools/vnode_if.awk +++ b/sys/tools/vnode_if.awk @@ -184,7 +184,6 @@ if (cfile) { " VDESC_NO_OFFSET,\n" \ " VDESC_NO_OFFSET,\n" \ " VDESC_NO_OFFSET,\n" \ - " NULL,\n" \ "};\n"); } @@ -413,7 +412,7 @@ while ((getline < srcfile) > 0) { # componentname printc("\t" find_arg_with_type("struct componentname *") ","); # transport layer information - printc("\tNULL,\n};\n"); + printc("};\n"); } }