OSDN Git Service

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)
commita916051191a3080b3124e77199126a032c327303
treeccb395e6ba863dbfa8514b32a97e1a94fce7708c
parent8d625101a74087a29b7c7760959e4036b27ea735
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