RDMA/rxe: Use driver_unregister and new unregistration API
[linux-2.6-block.git] / drivers / infiniband / sw / rxe / rxe_verbs.h
index 74e04801d34db1643bc398719c56f54a5943f8f4..ad5574d8e8ba77a947ce457ff22476075d2051bd 100644 (file)
@@ -66,8 +66,8 @@ struct rxe_ucontext {
 };
 
 struct rxe_pd {
+       struct ib_pd            ibpd;
        struct rxe_pool_entry   pelem;
-       struct ib_pd            ibpd;
 };
 
 struct rxe_ah {
@@ -385,7 +385,6 @@ struct rxe_dev {
        struct ib_device_attr   attr;
        int                     max_ucontext;
        int                     max_inline_data;
-       struct kref             ref_cnt;
        struct mutex    usdev_lock;
 
        struct net_device       *ndev;
@@ -467,7 +466,6 @@ static inline struct rxe_mem *to_rmw(struct ib_mw *mw)
 }
 
 int rxe_register_device(struct rxe_dev *rxe);
-void rxe_unregister_device(struct rxe_dev *rxe);
 
 void rxe_mc_cleanup(struct rxe_pool_entry *arg);