can: flexcan: flexcan_poll_state(): no need to initialize new_state, rx_state, tx_state
authorMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 18 Jan 2017 10:25:41 +0000 (11:25 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 6 Feb 2017 14:13:32 +0000 (15:13 +0100)
commit238443df8154696018fd01c1a7c8fb352b9ee49e
tree7295c43a8eb5901c6486d9eae01651d7d135d83a
parentd166f56bf58b64027679905a01001df9ac0764bd
can: flexcan: flexcan_poll_state(): no need to initialize new_state, rx_state, tx_state

This patch removed the not needed initialisation from the new_state,
rx_state, tx_state variabled.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c