OSDN Git Service

thermal: tools: tmon: remove unneeded local variable
authorran jianping <ran.jianping@zte.com.cn>
Fri, 12 Nov 2021 09:09:46 +0000 (09:09 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 24 Nov 2021 16:26:13 +0000 (17:26 +0100)
commitd7fbdc575b33c374ce88ccfe3ab364f7eb240f8a
tree174f3062f52ca381d86c7abb3abecd3813d7b38e
parent136057256686de39cc3a07c2e39ef6bc43003ff6
thermal: tools: tmon: remove unneeded local variable

Fix the following coccicheck review:
/tools/thermal/tmon/pid.c:57:5-8: Unneeded variable

Remove unneeded variable used to store return value.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ran jianping <ran.jianping@zte.com.cn>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
tools/thermal/tmon/pid.c