Commit da623840 authored by kernel test robot's avatar kernel test robot Committed by Marc Kleine-Budde

can: mcp251xfd: mcp251xfd_regmap_nocrc_read(): fix semicolon.cocci warnings

drivers/net/can/spi/mcp251xfd/mcp251xfd-regmap.c:176:2-3: Unneeded semicolon

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 875347fe ("can: mcp25xxfd: add regmap infrastructure")
Signed-off-by: default avatarkernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20201019120805.GA63693@ae4257e0ab22Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent b4728920
...@@ -173,7 +173,7 @@ mcp251xfd_regmap_nocrc_read(void *context, ...@@ -173,7 +173,7 @@ mcp251xfd_regmap_nocrc_read(void *context,
memcpy(&buf_tx->cmd, reg, sizeof(buf_tx->cmd)); memcpy(&buf_tx->cmd, reg, sizeof(buf_tx->cmd));
if (MCP251XFD_SANITIZE_SPI) if (MCP251XFD_SANITIZE_SPI)
memset(buf_tx->data, 0x0, val_len); memset(buf_tx->data, 0x0, val_len);
}; }
err = spi_sync(spi, &msg); err = spi_sync(spi, &msg);
if (err) if (err)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment