]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cm: Use specific keyword to check define
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 20 Oct 2019 07:15:55 +0000 (10:15 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 28 Oct 2019 13:15:10 +0000 (10:15 -0300)
commita5ff570b174f8f84894d522e7238d9204ad3238e
treeccb395e6ba863dbfa8514b32a97e1a94fce7708c
parent720912b248fd194cf51bfeb6bd4475351c7121a8
RDMA/cm: Use specific keyword to check define

There is a specific define keyword to check if define exists or not,
let's use it instead of open-coded variant.

Link: https://lore.kernel.org/r/20191020071559.9743-3-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cm_msgs.h
include/rdma/ib_cm.h