projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
825a51a
)
IB/rxe: Remove unneeded initialization in prepare6()
author
Andrew Boyer
<andrew.boyer@dell.com>
Mon, 28 Aug 2017 20:11:56 +0000
(16:11 -0400)
committer
Doug Ledford
<dledford@redhat.com>
Mon, 28 Aug 2017 23:12:35 +0000
(19:12 -0400)
Fixes:
4ed6ad1eb30e
("IB/rxe: Cache dst in QP instead of getting it...")
Signed-off-by: Andrew Boyer <andrew.boyer@dell.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_net.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/sw/rxe/rxe_net.c
b/drivers/infiniband/sw/rxe/rxe_net.c
index 3fbbadc5eb47631e7a503207f97405cb80208904..3ba76e7c7a388afebfd534d58ea76cfdd55b7de1 100644
(file)
--- a/
drivers/infiniband/sw/rxe/rxe_net.c
+++ b/
drivers/infiniband/sw/rxe/rxe_net.c
@@
-393,7
+393,7
@@
static int prepare6(struct rxe_dev *rxe, struct rxe_pkt_info *pkt,
struct sk_buff *skb, struct rxe_av *av)
{
struct rxe_qp *qp = pkt->qp;
- struct dst_entry *dst
= NULL
;
+ struct dst_entry *dst;
struct in6_addr *saddr = &av->sgid_addr._sockaddr_in6.sin6_addr;
struct in6_addr *daddr = &av->dgid_addr._sockaddr_in6.sin6_addr;