Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3e53971 authored by Maksym Planeta's avatar Maksym Planeta Committed by Jason Gunthorpe
Browse files

ibverbs/rxe: Remove variable self-initialization



In some cases (not in this particular one) variable self-initialization
can lead to undefined behavior. In this case, it is just obscure code.

Signed-off-by: default avatarMaksym Planeta <mplaneta@os.inf.tu-dresden.de>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 617cf24f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -558,7 +558,7 @@ int rxe_completer(void *arg)
{
{
	struct rxe_qp *qp = (struct rxe_qp *)arg;
	struct rxe_qp *qp = (struct rxe_qp *)arg;
	struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
	struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
	struct rxe_send_wqe *wqe = wqe;
	struct rxe_send_wqe *wqe = NULL;
	struct sk_buff *skb = NULL;
	struct sk_buff *skb = NULL;
	struct rxe_pkt_info *pkt = NULL;
	struct rxe_pkt_info *pkt = NULL;
	enum comp_state state;
	enum comp_state state;