aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_verbs.h
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2013-08-15 17:04:42 +0300
committerRoland Dreier <roland@purestorage.com>2013-09-02 21:26:16 -0700
commit2e02d653febff23de614dc8978c64fbaa2767d85 (patch)
treef64bfb424ec93a2d2c558e44d2612ec6ba169349 /include/rdma/ib_verbs.h
parentIB/iser: Fix possible memory leak in iser_create_frwr_pool() (diff)
downloadlinux-dev-2e02d653febff23de614dc8978c64fbaa2767d85.tar.xz
linux-dev-2e02d653febff23de614dc8978c64fbaa2767d85.zip
IB/iser: Fix redundant pointer check in dealloc flow
This bug was discovered by Smatch static checker run by Dan Carpenter. If in free_rx_descriptors(), rx_descs are not NULL then the iser device is definately not NULL, so no need to check it before dereferencing it. Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/rdma/ib_verbs.h')
0 files changed, 0 insertions, 0 deletions