Messages in this thread | | | From | Sudeep Holla <> | Subject | Re: [PATCH 1/2] firmware: arm_scmi: Remove unused local variables | Date | Mon, 6 Jun 2022 15:51:42 +0100 |
| |
On Mon, 30 May 2022 12:52:36 +0100, Cristian Marussi wrote: > While using SCMI iterators helpers a few local automatic variables are > defined but then used only as input for sizeof operators. > > cppcheck is fooled to complain about this with: > > drivers/firmware/arm_scmi/sensors.c:341:48: warning: Variable 'msg' is not assigned a value. [unassignedVariable] > struct scmi_msg_sensor_list_update_intervals *msg; > > [...]
Applied to sudeep.holla/linux (for-next/scmi), thanks!
[1/2] firmware: arm_scmi: Remove unused local variables https://git.kernel.org/sudeep.holla/c/d0c94bef70
-- Regards, Sudeep
| |