[ofa-general] Re: [PATCH 4/16 v4] IB/ipoib: Add checksum offload support

Roland Dreier rdreier at cisco.com
Fri Feb 8 14:48:00 PST 2008


In fact I think I'll queue up the patch below to avoid problems like
this in the future:

commit 5128bdc97a1018aacac2550cf73bda61041cc3b8
Author: Roland Dreier <rolandd at cisco.com>
Date:   Fri Feb 8 14:47:26 2008 -0800

    IB/core: Remove unused struct ib_device.flags member
    
    Avoid confusion about what it might mean, since it's never initialized.
    
    Signed-off-by: Roland Dreier <rolandd at cisco.com>

diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index a5a7f96..701e7b4 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -900,8 +900,6 @@ struct ib_device {
 	int                          *pkey_tbl_len;
 	int                          *gid_tbl_len;
 
-	u32                           flags;
-
 	int			      num_comp_vectors;
 
 	struct iw_cm_verbs	     *iwcm;



More information about the general mailing list