changeset 12265:f199783d527a onnv_139

6927456 adding a hook notify function does not enumerate existing nodes (fix lint)
author Darren Reed <Darren.Reed@Sun.COM>
date Mon, 26 Apr 2010 18:41:02 -0700
parents 0dd1980ff11a
children d0c06a2b2de5
files usr/src/uts/common/io/hook.c usr/src/uts/common/io/neti_impl.c
diffstat 2 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/io/hook.c	Mon Apr 26 20:23:20 2010 -0400
+++ b/usr/src/uts/common/io/hook.c	Mon Apr 26 18:41:02 2010 -0700
@@ -425,8 +425,6 @@
 int
 hook_wait_destroy(flagwait_t *waiter)
 {
-	boolean_t wanted;
-
 	ASSERT((waiter->fw_flags & FWF_DESTROY_WANTED) == 0);
 	mutex_enter(&waiter->fw_lock);
 	if (waiter->fw_flags & FWF_DESTROY_WANTED) {
--- a/usr/src/uts/common/io/neti_impl.c	Mon Apr 26 20:23:20 2010 -0400
+++ b/usr/src/uts/common/io/neti_impl.c	Mon Apr 26 18:41:02 2010 -0700
@@ -401,7 +401,6 @@
 int
 net_family_register(net_handle_t info, hook_family_t *hf)
 {
-	hook_family_int_t *hfi;
 	netstack_t *ns;
 
 	ASSERT(info != NULL);