提交 cc8ab154 编写于 作者: lymzzyh's avatar lymzzyh

[Components][Drivers][SPI]fix "Value stored to 'result' is never read"

上级 16a7c398
......@@ -360,7 +360,6 @@ struct rt_spi_message *rt_spi_transfer_message(struct rt_spi_device *device,
{
/* configure SPI bus failed */
rt_set_errno(-RT_EIO);
result = 0;
goto __exit;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册