Remove opv_desc_vector from vfs_add_vnodeops, since it is defined
and given a value, but never used. This has no effect on the resulting binaries, since gcc optimizes the variable away anyway. PR: kern/62684 Approved by: rwatson (mentor)
This commit is contained in:
parent
2a3faf2fbd
commit
a20e9655b9
@ -216,7 +216,6 @@ vfs_add_vnodeops(const void *data)
|
||||
const struct vnodeopv_desc **newopv;
|
||||
struct vnodeop_desc **newop;
|
||||
int *newref;
|
||||
vop_t **opv_desc_vector;
|
||||
struct vnodeop_desc *desc;
|
||||
int i, j;
|
||||
|
||||
@ -232,7 +231,6 @@ vfs_add_vnodeops(const void *data)
|
||||
vnodeopv_num++;
|
||||
|
||||
/* See if we have turned up a new vnode op desc */
|
||||
opv_desc_vector = *(opv->opv_desc_vector_p);
|
||||
for (i = 0; (desc = opv->opv_desc_ops[i].opve_op); i++) {
|
||||
for (j = 0; j < num_op_descs; j++) {
|
||||
if (desc == vfs_op_descs[j]) {
|
||||
|
Loading…
Reference in New Issue
Block a user