OSDN Git Service

ibverbs/rxe: Remove variable self-initialization
authorMaksym Planeta <mplaneta@os.inf.tu-dresden.de>
Tue, 2 Jul 2019 13:49:28 +0000 (15:49 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Sun, 7 Jul 2019 12:19:38 +0000 (09:19 -0300)
commitd3e5397169175628696e92191dfc0e86d8e48db9
tree01c1be89cf4a0745c64c04bd0c0e1a06ba264b34
parent617cf24f9f9efcd5e2f0258e7da10b8a2447662b
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: Maksym Planeta <mplaneta@os.inf.tu-dresden.de>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/sw/rxe/rxe_comp.c