From: Dan Carpenter dan.carpenter@oracle.com
commit 810810ffb2f6d46365d0790bbe77698a5534393a upstream.
"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 Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
--- drivers/net/ethernet/qlogic/qede/qede_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/net/ethernet/qlogic/qede/qede_main.c +++ b/drivers/net/ethernet/qlogic/qede/qede_main.c @@ -400,7 +400,7 @@ netdev_tx_t qede_start_xmit(struct sk_bu 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);