Date: Wed, 11 Feb 2004 13:38:11 +0200 From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/62684: sys/kern/vfs_init.c:vfs_add_vnodeops() has not needed variable Message-ID: <20040211113811.GA948@pm514-9.comsys.ntu-kpi.kiev.ua> Resent-Message-ID: <200402111140.i1BBeAKe077117@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 62684 >Category: kern >Synopsis: sys/kern/vfs_init.c:vfs_add_vnodeops() has not needed variable >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 11 03:40:09 PST 2004 >Closed-Date: >Last-Modified: >Originator: Andrey Simonenko >Release: FreeBSD 4.x and 5.x >Organization: >Environment: >Description: Function vfs_add_vnodeops() in sys/kern/vfs_init.c has not needed variable opv_desc_vector. It is used only once: /* See if we have turned up a new vnode op desc */ opv_desc_vector = *(opv->opv_desc_vector_p); and then it is not used in this function any more. This variable was introduced in 1.38 and it wasn't used in vfs_add_vnodeops() (and in vfs_rm_vnodeops()) as well. >How-To-Repeat: >Fix: I suppose that this variable can be removed from vfs_add_vnodeops(), at least, as I understand, it does nothing. >Release-Note: >Audit-Trail: >Unformatted: To: FreeBSD-gnats-submit@freebsd.org From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> Reply-To: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> Cc: X-send-pr-version: 3.113 X-GNATS-Notify:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040211113811.GA948>