Skip to content

Commit

Permalink
qede: uninitialized variable in qede_start_xmit()
Browse files Browse the repository at this point in the history
"data_split" was never set to false.  It's just uninitialized.

Fixes: 2950219 ('qede: Add basic network device support')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Dan Carpenter authored and davem330 committed May 9, 2016
1 parent 8c1f454 commit 810810f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/qlogic/qede/qede_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 810810f

Please sign in to comment.