6927456 adding a hook notify function does not enumerate existing nodes (fix lint) onnv_139
authorDarren Reed <Darren.Reed@Sun.COM>
Mon, 26 Apr 2010 18:41:02 -0700
changeset 12265 f199783d527a
parent 12264 0dd1980ff11a
child 12266 d0c06a2b2de5
6927456 adding a hook notify function does not enumerate existing nodes (fix lint)
usr/src/uts/common/io/hook.c
usr/src/uts/common/io/neti_impl.c
--- 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);