can: ti_hecc: ti_hecc_mailbox_read(): remove set but not used variable 'mbx_mask'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 25 Jul 2019 07:00:44 +0000 (07:00 +0000)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 13 Aug 2019 14:40:29 +0000 (16:40 +0200)
commit7123e1c7ea29f841819900bcf99763aa51ecda58
tree8cb74701ad3c5d49d00d13afd6e9b101c9da9de5
parentbabfcda6ef436a529edb5d48e8180c323f1ca391
can: ti_hecc: ti_hecc_mailbox_read(): remove set but not used variable 'mbx_mask'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/can/ti_hecc.c: In function 'ti_hecc_mailbox_read':
drivers/net/can/ti_hecc.c:533:12: warning:
 variable 'mbx_mask' set but not used [-Wunused-but-set-variable]

It is never used so can be removed.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Jeroen Hofstee <jhofstee@victronenergy.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/ti_hecc.c