can: at91_can: fix compiler warning in at91_irq_err_state
authorMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 21 Oct 2010 01:01:16 +0000 (01:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Oct 2010 21:47:49 +0000 (14:47 -0700)
commitb61f674051e58b394454602d492d5e3e3471facc
treefbeb05e0f7a0d542d3dfa54d845adc3ea8e40a0c
parent759a6c768dcdbbb4d3f1fb965b674c15773e09ca
can: at91_can: fix compiler warning in at91_irq_err_state

This patch fixes the following compiler warning:

drivers/net/can/at91_can.c: In function 'at91_irq_err_state':
drivers/net/can/at91_can.c:779: warning: 'reg_ier' may be used uninitialized in this function
drivers/net/can/at91_can.c:779: warning: 'reg_idr' may be used uninitialized in this function

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/at91_can.c