OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98a3e87
)
RDMA/cxgb4: Use uninitialized_var()
author
Steve Wise
<swise@opengridcomputing.com>
Wed, 9 Apr 2014 14:38:28 +0000
(09:38 -0500)
committer
Roland Dreier
<roland@purestorage.com>
Fri, 11 Apr 2014 18:36:10 +0000
(11:36 -0700)
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/cq.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/cxgb4/cq.c
b/drivers/infiniband/hw/cxgb4/cq.c
index
e17b155
..
cfaa56a
100644
(file)
--- 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;