[IBBUS] remove unnecessary cast.
authorstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 17 Mar 2009 18:24:20 +0000 (18:24 +0000)
committerstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 17 Mar 2009 18:24:20 +0000 (18:24 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2036 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/bus/kernel/bus_pnp.c

index dcb25e3..a93a777 100644 (file)
@@ -470,7 +470,7 @@ fdo_start(
        }\r
 \r
        /* bind BFI to HCA by CA GUID */\r
-       p_bfi->ca_guid = ((const ci_interface_t*)&p_ext->hca_ifc.Verbs)->guid;\r
+       p_bfi->ca_guid = p_ext->hca_ifc.Verbs.guid;\r
 \r
        BUS_TRACE_EXIT(BUS_DBG_PNP, ("%s bound to CA guid %I64x\n",\r
                                                                        p_bfi->whoami,p_bfi->ca_guid));\r