diff options
| author | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-08-19 19:17:13 +0200 |
|---|---|---|
| committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-08-20 13:41:25 +0200 |
| commit | ad07819f223e26b30cc5ec25a31d906db0788600 (patch) | |
| tree | 61425ee6ac56ab0e833c3be1c100951eb5c3ba68 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 65668b32695652e81c86671f075ed45f9efcf0d7 (diff) | |
can: tcan4x5x: remove not needed casts to struct tcan4x5x_priv *
The struct m_can_classdev::device_data is a void pointer, so there's no
need to cast it to struct tcan4x5x_priv *, when assigning the struct
tcan4x5x_priv pointer.
This patch removes the not needed casts from the tcan4x5x driver.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
