summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2014-04-09 09:38:28 -0500
committerRoland Dreier <roland@purestorage.com>2014-04-11 11:36:10 -0700
commit97df1c6736f660b58b408a60d0f7f65a64fb9d56 (patch)
tree5722c52fe72ece855d846f81b2f184df05164367 /drivers/infiniband
parent98a3e879907644c0b7e2f16436eb5cf24b9cd61f (diff)
downloadop-kernel-dev-97df1c6736f660b58b408a60d0f7f65a64fb9d56.zip
op-kernel-dev-97df1c6736f660b58b408a60d0f7f65a64fb9d56.tar.gz
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')
-rw-r--r--drivers/infiniband/hw/cxgb4/cq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cq.c b/drivers/infiniband/hw/cxgb4/cq.c
index e17b155..cfaa56a 100644
--- a/drivers/infiniband/hw/cxgb4/cq.c
+++ b/drivers/infiniband/hw/cxgb4/cq.c
@@ -672,7 +672,7 @@ skip_cqe:
static int c4iw_poll_cq_one(struct c4iw_cq *chp, struct ib_wc *wc)
{
struct c4iw_qp *qhp = NULL;
- struct t4_cqe cqe = {0, 0}, *rd_cqe;
+ struct t4_cqe uninitialized_var(cqe), *rd_cqe;
struct t4_wq *wq;
u32 credit = 0;
u8 cqe_flushed;
OpenPOWER on IntegriCloud