提交 97df1c67 编写于 作者: S Steve Wise 提交者: Roland Dreier

RDMA/cxgb4: Use uninitialized_var()

Signed-off-by: NSteve Wise <swise@opengridcomputing.com>
Signed-off-by: NRoland Dreier <roland@purestorage.com>
上级 98a3e879
...@@ -672,7 +672,7 @@ static int poll_cq(struct t4_wq *wq, struct t4_cq *cq, struct t4_cqe *cqe, ...@@ -672,7 +672,7 @@ static int poll_cq(struct t4_wq *wq, struct t4_cq *cq, struct t4_cqe *cqe,
static int c4iw_poll_cq_one(struct c4iw_cq *chp, struct ib_wc *wc) static int c4iw_poll_cq_one(struct c4iw_cq *chp, struct ib_wc *wc)
{ {
struct c4iw_qp *qhp = NULL; 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; struct t4_wq *wq;
u32 credit = 0; u32 credit = 0;
u8 cqe_flushed; u8 cqe_flushed;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册