]> git.openfabrics.org - ~ardavis/dapl.git/commitdiff
dapl: remove needless terminating 0 in dto_op_str functions.
authorArlin Davis <arlin.r.davis@intel.com>
Mon, 23 Jun 2008 22:26:30 +0000 (15:26 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Mon, 23 Jun 2008 22:26:30 +0000 (15:26 -0700)
Signed-off by: Arlin Davis ardavis@ichips.intel.com

dapl/common/dapl_evd_util.c
dapl/openib_cma/dapl_ib_dto.h
dapl/openib_scm/dapl_ib_dto.h

index ea3e27c8167175d067495395957bb3d99ce3cbed..63fee81e532aa67c28f9c0d25696ca105f057683 100644 (file)
@@ -554,8 +554,7 @@ STATIC _INLINE_ char * DAPL_GET_DTO_OP_STR(int op)
         "OP_SEND",
         "OP_RECEIVE",
         "OP_RDMA_WRITE",
-        "OP_RDMA_READ",
-        0
+        "OP_RDMA_READ"
     };
     return ((op < 0 || op > 3) ? "Invalid DTO OP?" : dto_ops[op]);
 }
index ffb5dcafc9af14c6262b9c6f439009152512bf90..334fa4b3c83f1097a1853a1f557cff38d5d60847 100644 (file)
@@ -482,8 +482,7 @@ STATIC _INLINE_ char * dapls_dto_op_str(int op)
         "OP_FETCH_AND_ADD",
         "OP_RECEIVE",
         "OP_RECEIVE_IMM",
-        "OP_BIND_MW",
-        0
+        "OP_BIND_MW"
     };
     return ((op < 0 || op > 9) ? "Invalid CQE OP?" : optable[op]);
 }
index 6ba669fe9a8bb4a095b63f317ff22cacb8046418..4b06b7269a5b7f9c99ba85ced4ca483dcaf54564 100644 (file)
@@ -482,8 +482,7 @@ STATIC _INLINE_ char * dapls_dto_op_str(int op)
         "OP_FETCH_AND_ADD",
         "OP_RECEIVE",
         "OP_RECEIVE_IMM",
-        "OP_BIND_MW",
-        0
+        "OP_BIND_MW"
     };
     return ((op < 0 || op > 9) ? "Invalid CQE OP?" : optable[op]);
 }