diff options
author | Roland Dreier <roland@purestorage.com> | 2012-04-16 14:36:29 -0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-05-08 14:17:48 -0400 |
commit | abe3afacc5762065244421569ad86afef11813bb (patch) | |
tree | ead82d8a90aafbcbdfb04db4561e9d0b520f4c76 /drivers/infiniband/hw/ocrdma/ocrdma_hw.c | |
parent | da4964387d997244b043dd812540bed851c45c9e (diff) |
RDMA/ocrdma: Make needlessly global functions/structs static
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma_hw.c')
-rw-r--r-- | drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_hw.c b/drivers/infiniband/hw/ocrdma/ocrdma_hw.c index 025c4a9a3d5b..00a460e04be6 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma_hw.c +++ b/drivers/infiniband/hw/ocrdma/ocrdma_hw.c | |||
@@ -159,7 +159,7 @@ enum ib_qp_state get_ibqp_state(enum ocrdma_qp_state qps) | |||
159 | return IB_QPS_ERR; | 159 | return IB_QPS_ERR; |
160 | } | 160 | } |
161 | 161 | ||
162 | enum ocrdma_qp_state get_ocrdma_qp_state(enum ib_qp_state qps) | 162 | static enum ocrdma_qp_state get_ocrdma_qp_state(enum ib_qp_state qps) |
163 | { | 163 | { |
164 | switch (qps) { | 164 | switch (qps) { |
165 | case IB_QPS_RESET: | 165 | case IB_QPS_RESET: |
@@ -384,8 +384,8 @@ static void ocrdma_free_eq_vect_gen2(struct ocrdma_dev *dev) | |||
384 | dev->nic_info.msix.start_vector -= 1; | 384 | dev->nic_info.msix.start_vector -= 1; |
385 | } | 385 | } |
386 | 386 | ||
387 | int ocrdma_mbx_delete_q(struct ocrdma_dev *dev, struct ocrdma_queue_info *q, | 387 | static int ocrdma_mbx_delete_q(struct ocrdma_dev *dev, struct ocrdma_queue_info *q, |
388 | int queue_type) | 388 | int queue_type) |
389 | { | 389 | { |
390 | u8 opcode = 0; | 390 | u8 opcode = 0; |
391 | int status; | 391 | int status; |
@@ -516,9 +516,9 @@ static void ocrdma_destroy_qp_eqs(struct ocrdma_dev *dev) | |||
516 | ocrdma_destroy_eq(dev, &dev->qp_eq_tbl[i]); | 516 | ocrdma_destroy_eq(dev, &dev->qp_eq_tbl[i]); |
517 | } | 517 | } |
518 | 518 | ||
519 | int ocrdma_mbx_mq_cq_create(struct ocrdma_dev *dev, | 519 | static int ocrdma_mbx_mq_cq_create(struct ocrdma_dev *dev, |
520 | struct ocrdma_queue_info *cq, | 520 | struct ocrdma_queue_info *cq, |
521 | struct ocrdma_queue_info *eq) | 521 | struct ocrdma_queue_info *eq) |
522 | { | 522 | { |
523 | struct ocrdma_create_cq_cmd *cmd = dev->mbx_cmd; | 523 | struct ocrdma_create_cq_cmd *cmd = dev->mbx_cmd; |
524 | struct ocrdma_create_cq_cmd_rsp *rsp = dev->mbx_cmd; | 524 | struct ocrdma_create_cq_cmd_rsp *rsp = dev->mbx_cmd; |