RDMA/nes: Don't call event handler if pointer is NULL
authorTatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Fri, 11 May 2012 19:29:32 +0000 (14:29 -0500)
committerRoland Dreier <roland@purestorage.com>
Mon, 14 May 2012 19:48:07 +0000 (12:48 -0700)
commit784d135f967849cb51c7e8d0c5230734f893331c
tree08d682218c6ba8d2fbf139047c1678427411d9f4
parentd3e5132814fb7c80c4b1c4a0ec6b4fa06943d6d5
RDMA/nes: Don't call event handler if pointer is NULL

Don't call the ibqp event_handler pointer in the case it wasn't initialized.

Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Signed-off-by: Donald Wood <Donald.E.Wood@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/nes/nes_cm.c