From: Marc Kleine-Budde Date: Sat, 14 Mar 2015 14:39:09 +0000 (+0100) Subject: can: m_cam: m_can_fifo_write(): remove return from void function X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fba6f9117a3d87a269fc3b174127c99f25f4979e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git can: m_cam: m_can_fifo_write(): remove return from void function This patch removes the return from the void function m_can_fifo_write(). Signed-off-by: Marc Kleine-Budde --- diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c index 2e04b3aeeb37..ef655177bb5e 100644 --- a/drivers/net/can/m_can/m_can.c +++ b/drivers/net/can/m_can/m_can.c @@ -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,