git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c54ef7c
)
ixgbe/base: fix uninitialized variable
author
Wenzhuo Lu
<wenzhuo.lu@intel.com>
Wed, 24 Jun 2015 03:25:56 +0000
(11:25 +0800)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Fri, 26 Jun 2015 10:58:04 +0000
(12:58 +0200)
Fix the warning caused by an uninitialized variable which might have
been used.
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/ixgbe/base/ixgbe_x550.c
patch
|
blob
|
history
diff --git
a/drivers/net/ixgbe/base/ixgbe_x550.c
b/drivers/net/ixgbe/base/ixgbe_x550.c
index
2e86ea1
..
d9d8ab3
100644
(file)
--- a/
drivers/net/ixgbe/base/ixgbe_x550.c
+++ b/
drivers/net/ixgbe/base/ixgbe_x550.c
@@
-1648,7
+1648,7
@@
s32 ixgbe_setup_mac_link_sfp_x550em(struct ixgbe_hw *hw,
{
s32 ret_val;
u16 reg_slice, reg_val;
- bool setup_linear;
+ bool setup_linear
= false
;
UNREFERENCED_1PARAMETER(autoneg_wait_to_complete);
/* Configure the external PHY. */