can: ti_hecc: Fix unintialized variable
authorAbhilash K V <abhilash.kv@ti.com>
Tue, 23 Aug 2011 03:05:48 +0000 (03:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Aug 2011 16:48:24 +0000 (12:48 -0400)
commit6f288cc52f478e6f58d96158e7cd857fedb6d111
treeb4d145d3b0de634f502f50f89febe193a1f93dee
parent69558eeeaba7d79364bb9ac4743dc1ad209508b7
can: ti_hecc: Fix unintialized variable

In ti_hecc_xmit(), local variable "data" is not initialized before
being used.
This initialization got inadvertently removed in the following patch:

can: Unify droping of invalid tx skbs and netdev stats

Acked-by: Anant Gole <anantgole@ti.com>
Signed-off-by: Abhilash K V <abhilash.kv@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/ti_hecc.c