projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aae0484
)
RDMA/rxe: Remove unused addr_same()
author
Kamal Heib
<kamalheib1@gmail.com>
Tue, 2 Oct 2018 08:03:10 +0000
(11:03 +0300)
committer
Jason Gunthorpe
<jgg@mellanox.com>
Wed, 3 Oct 2018 22:04:32 +0000
(16:04 -0600)
This function is not in use - delete it.
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/sw/rxe/rxe_net.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/sw/rxe/rxe_net.c
b/drivers/infiniband/sw/rxe/rxe_net.c
index fb06f94f33d8393d6724bd4886f93588764d9c7c..40e82e0f6c2d2265e06db58f445869d6afcea73b 100644
(file)
--- a/
drivers/infiniband/sw/rxe/rxe_net.c
+++ b/
drivers/infiniband/sw/rxe/rxe_net.c
@@
-491,11
+491,6
@@
void rxe_loopback(struct sk_buff *skb)
rxe_rcv(skb);
}
-static inline int addr_same(struct rxe_dev *rxe, struct rxe_av *av)
-{
- return rxe->port.port_guid == av->grh.dgid.global.interface_id;
-}
-
struct sk_buff *rxe_init_packet(struct rxe_dev *rxe, struct rxe_av *av,
int paylen, struct rxe_pkt_info *pkt)
{