diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-05-05 15:21:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-09 05:31:53 +0200 |
commit | 810810ffb2f6d46365d0790bbe77698a5534393a (patch) | |
tree | f58896be8c910dcb12d9e0760365fa8d2ea85b60 | |
parent | netxen: netxen_rom_fast_read() doesn't return -1 (diff) | |
download | linux-810810ffb2f6d46365d0790bbe77698a5534393a.tar.xz linux-810810ffb2f6d46365d0790bbe77698a5534393a.zip |
qede: uninitialized variable in qede_start_xmit()
"data_split" was never set to false. It's just uninitialized.
Fixes: 2950219d87b0 ('qede: Add basic network device support')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/qlogic/qede/qede_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qede/qede_main.c b/drivers/net/ethernet/qlogic/qede/qede_main.c index 8d5248c4087f..12f6615797de 100644 --- a/drivers/net/ethernet/qlogic/qede/qede_main.c +++ b/drivers/net/ethernet/qlogic/qede/qede_main.c @@ -421,7 +421,7 @@ netdev_tx_t qede_start_xmit(struct sk_buff *skb, u8 xmit_type; u16 idx; u16 hlen; - bool data_split; + bool data_split = false; /* Get tx-queue context and netdev index */ txq_index = skb_get_queue_mapping(skb); |