]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/nes: Remove useless NULL checks
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 20 May 2019 06:54:23 +0000 (09:54 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 21 May 2019 18:50:53 +0000 (15:50 -0300)
commit269c97fd485439702048676326286588c33fd3ba
treeec418236e5b5acc298a5f8acf6a87c1783381040
parent890ac8d97e6722a9e4a66a0bd836d1b028d075fe
RDMA/nes: Remove useless NULL checks

The destroy functions are always called with relevant structs, there is no
need to check their existence.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/nes/nes_verbs.c