diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2019-10-20 09:15:55 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-10-28 14:15:10 +0100 |
commit | a916051191a3080b3124e77199126a032c327303 (patch) | |
tree | ccb395e6ba863dbfa8514b32a97e1a94fce7708c /include/rdma/ib_cm.h | |
parent | RDMA/cm: Delete unused cm_is_active_peer function (diff) | |
download | linux-a916051191a3080b3124e77199126a032c327303.tar.xz linux-a916051191a3080b3124e77199126a032c327303.zip |
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>
Diffstat (limited to 'include/rdma/ib_cm.h')
-rw-r--r-- | include/rdma/ib_cm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rdma/ib_cm.h b/include/rdma/ib_cm.h index 49f4f75499b3..5dc4ec986527 100644 --- a/include/rdma/ib_cm.h +++ b/include/rdma/ib_cm.h @@ -32,7 +32,7 @@ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#if !defined(IB_CM_H) +#ifndef IB_CM_H #define IB_CM_H #include <rdma/ib_mad.h> |