RDMA/rxe: Remove rxe_dma_device declaration
authorKamal Heib <kamalheib1@gmail.com>
Wed, 31 Mar 2021 10:20:43 +0000 (13:20 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 31 Mar 2021 17:45:50 +0000 (14:45 -0300)
The function isn't implemented - delete the declaration.

Fixes: a9d2e9ae953f ("RDMA/siw,rxe: Make emulated devices virtual in the device tree")
Link: https://lore.kernel.org/r/20210331102043.691950-1-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_loc.h

index 08e21fa9ec97e7fb5a47f803180f9cf2414bd459..ef8061d2fbe0f424e7a9c10e52f94b31bd27241e 100644 (file)
@@ -113,7 +113,6 @@ struct sk_buff *rxe_init_packet(struct rxe_dev *rxe, struct rxe_av *av,
                                int paylen, struct rxe_pkt_info *pkt);
 int rxe_prepare(struct rxe_pkt_info *pkt, struct sk_buff *skb, u32 *crc);
 const char *rxe_parent_name(struct rxe_dev *rxe, unsigned int port_num);
-struct device *rxe_dma_device(struct rxe_dev *rxe);
 int rxe_mcast_add(struct rxe_dev *rxe, union ib_gid *mgid);
 int rxe_mcast_delete(struct rxe_dev *rxe, union ib_gid *mgid);