]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/infiniband/hw/cxgb4/cm.c
RDMA/cxgb4: Remove unneeded NULL check
authorRoland Dreier <rolandd@cisco.com>
Mon, 19 Jul 2010 20:13:09 +0000 (13:13 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 19 Jul 2010 20:13:09 +0000 (13:13 -0700)
commit85963e4cbcf11c00b1d27ea0e0fcab8cb3d7a69b
tree27674e8ad976d61c6a7301186ef33600d44df03e
parentc1d7356c8572f3fe0445336d8e75914bdcadad59
RDMA/cxgb4: Remove unneeded NULL check

The rest of the code seems to assume that ep->com.cm_id can't be NULL,
so remove an unneeded test.

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb4/cm.c