RT-Thread / rt-thread

RT-Thread is an open source IoT Real-Time Operating System (RTOS).
https://www.rt-thread.io
Apache License 2.0
10.37k stars 4.99k forks source link

[components][smp]remove redundant memset & unlock in smp #9477

Open zmshahaha opened 5 days ago

zmshahaha commented 5 days ago

拉取/合并请求描述:(PR description)

[

为什么提交这份PR (why to submit this PR)

你的解决方案是什么 (what is your solution)

请提供验证的bsp和config (provide the config and bsp)

]

当前拉取/合并请求的状态 Intent for your PR

必须选择一项 Choose one (Mandatory):

代码质量 Code Quality:

我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:

zhuzhuzhus commented 7 minutes ago

加个return吧,这里的设计是为了后续其他拓展的错误返回,直接在后面加个return,错误处理的地方就先别删了