android_kernel_xiaomi_sdm845/drivers/infiniband/hw
Roland Dreier 5bd8341ce2 RDMA/nes: Remove redundant NULL check in nes_unregister_ofa_device()
nes_unregister_ofa_device() dereferences the nesibdev pointer before
testing if it's NULL.  Also, the test is doubly redundant because the
only caller of nes_unregister_ofa_device() is nes_destroy_ofa_device(),
which already tests if nesibdev is NULL.  Remove the unnecessary test.

This was spotted by the Coverity checker (CID 2190).

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-04-16 21:01:09 -07:00
..
amso1100 RDMA/amso1100: Endian annotate mqsq allocator 2008-04-16 21:01:08 -07:00
cxgb3 RDMA/cxgb3: IDR IDs are signed 2008-04-16 21:01:06 -07:00
ehca IB/ehca: Add PMA support 2008-02-04 20:20:42 -08:00
ipath IB/ipath: Fix sparse warning about shadowed symbol 2008-04-16 21:01:07 -07:00
mlx4 mlx4_core: Fix confusion between mlx4_event and mlx4_dev_event enums 2008-04-16 21:01:08 -07:00
mthca IB/mthca: Formatting cleanups 2008-04-16 21:01:03 -07:00
nes RDMA/nes: Remove redundant NULL check in nes_unregister_ofa_device() 2008-04-16 21:01:09 -07:00