[IBAL] fix to the previous (1320) patch.
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 2 Jul 2008 11:50:44 +0000 (11:50 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 2 Jul 2008 11:50:44 +0000 (11:50 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1321 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/al/kernel/al_cm_cep.c

index 3d232ef..2365695 100644 (file)
@@ -3431,8 +3431,6 @@ __cep_queue_mad(
                /* get a pending IRP */\r
                if ( !IsListEmpty( &p_cep->irp_que ) )\r
                {\r
-                       kcep_t* p_new_cep = (kcep_t*)p_mad->send_context1;\r
-                       \r
                        // get IRP\r
                        p_list_entry = RemoveHeadList( &p_cep->irp_que );\r
                        p_irp = (PIRP)CONTAINING_RECORD( p_list_entry, IRP, Tail.Overlay.ListEntry );\r
@@ -6317,7 +6315,7 @@ al_cep_get_cid(
        IN              PIRP                                                            p_irp\r
        )\r
 {\r
-       kcep_t *p_cep, *p_new_cep;\r
+       kcep_t *p_cep;\r
        NTSTATUS nt_status;\r
        KLOCK_QUEUE_HANDLE hdl;\r
        ib_mad_element_t* p_mad = NULL;\r