can: m_cam: m_can_fifo_write(): remove return from void function
authorMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 14 Mar 2015 14:39:09 +0000 (15:39 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 22 Mar 2015 22:50:11 +0000 (23:50 +0100)
This patch removes the return from the void function m_can_fifo_write().

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

index 2e04b3aeeb374101b54cfe4dc0506df3a1f3420d..ef655177bb5e5b62a7be1f821d08a88226ba7b84 100644 (file)
@@ -312,8 +312,8 @@ static inline u32 m_can_fifo_read(const struct m_can_priv *priv,
 static inline void m_can_fifo_write(const struct m_can_priv *priv,
                                    u32 fpi, unsigned int offset, u32 val)
 {
-       return writel(val, priv->mram_base + priv->mcfg[MRAM_TXB].off +
-                     fpi * TXB_ELEMENT_SIZE + offset);
+       writel(val, priv->mram_base + priv->mcfg[MRAM_TXB].off +
+              fpi * TXB_ELEMENT_SIZE + offset);
 }
 
 static inline void m_can_config_endisable(const struct m_can_priv *priv,