Message ID | 20220427030619.81556-1-jiapeng.chong@linux.alibaba.com |
---|---|
State | Accepted |
Commit | f21b57eb12bfe0d38794145f976ca8127d8846db |
Headers | show |
Series | [1/2] tools/lib/thermal: remove unneeded semicolon | expand |
diff --git a/tools/lib/thermal/commands.c b/tools/lib/thermal/commands.c index 4e289ca1e5f3..73d4d4e8d6ec 100644 --- a/tools/lib/thermal/commands.c +++ b/tools/lib/thermal/commands.c @@ -212,7 +212,7 @@ static int handle_netlink(struct nl_cache_ops *unused, default: return THERMAL_ERROR; - }; + } return ret; }
Fix the following coccicheck warnings: ./tools/lib/thermal/commands.c:215:2-3: Unneeded semicolon. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> --- tools/lib/thermal/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)