diff options
author | Steve Wise <swise@opengridcomputing.com> | 2014-04-09 10:38:28 -0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-04-11 14:36:10 -0400 |
commit | 97df1c6736f660b58b408a60d0f7f65a64fb9d56 (patch) | |
tree | 5722c52fe72ece855d846f81b2f184df05164367 /drivers/infiniband/hw | |
parent | 98a3e879907644c0b7e2f16436eb5cf24b9cd61f (diff) |
RDMA/cxgb4: Use uninitialized_var()
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/cq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cq.c b/drivers/infiniband/hw/cxgb4/cq.c index e17b155b3758..cfaa56ada189 100644 --- a/drivers/infiniband/hw/cxgb4/cq.c +++ b/drivers/infiniband/hw/cxgb4/cq.c | |||
@@ -672,7 +672,7 @@ skip_cqe: | |||
672 | static int c4iw_poll_cq_one(struct c4iw_cq *chp, struct ib_wc *wc) | 672 | static int c4iw_poll_cq_one(struct c4iw_cq *chp, struct ib_wc *wc) |
673 | { | 673 | { |
674 | struct c4iw_qp *qhp = NULL; | 674 | struct c4iw_qp *qhp = NULL; |
675 | struct t4_cqe cqe = {0, 0}, *rd_cqe; | 675 | struct t4_cqe uninitialized_var(cqe), *rd_cqe; |
676 | struct t4_wq *wq; | 676 | struct t4_wq *wq; |
677 | u32 credit = 0; | 677 | u32 credit = 0; |
678 | u8 cqe_flushed; | 678 | u8 cqe_flushed; |