Index: al_pd.c
===================================================================
--- al_pd.c	(revision 6902)
+++ al_pd.c	(working copy)
@@ -182,8 +182,6 @@
 destroying_pd(
 	IN				al_obj_t					*p_obj )
 {
-	ib_al_handle_t			h_al;
-	ib_ca_handle_t			h_ca;
 	ib_pd_handle_t			h_pd;
 	ib_mw_handle_t			h_mw;
 	cl_list_item_t			*p_list_item;
@@ -191,13 +189,8 @@
 
 	CL_ASSERT( p_obj );
 	h_pd = PARENT_STRUCT( p_obj, ib_pd_t, obj );
+	CL_ASSERT( h_pd );
 
-	/* Get the AL instance of this protection domain. */
-	p_obj = h_pd->obj.p_parent_obj;
-	h_ca = PARENT_STRUCT( p_obj, ib_ca_t, obj );
-	p_obj = h_ca->obj.p_parent_obj;
-	h_al = PARENT_STRUCT( p_obj, ib_al_t, obj );
-
 	/*
 	 * Deallocate all MW's before proceeding with destruction.  This ensures
 	 * that all MW's have been destroyed before any MR's are.
