firmware: arm_scmi: Remove superfluous handle_to_scmi_info
authorLuke Parkin <luke.parkin@arm.com>
Mon, 5 Aug 2024 13:10:08 +0000 (14:10 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Fri, 9 Aug 2024 13:20:40 +0000 (14:20 +0100)
commit20c9234d623cc54caed843739c1f89b305eb3bfa
tree55d7bd92f8b4626f09fcd46ba5e8a971d461c0cf
parent8400291e289ee6b2bf9779ff1c83a291501f017b
firmware: arm_scmi: Remove superfluous handle_to_scmi_info

Variable info is already defined in the outer code block and there is no
need to define the same again in the inner code block. Let us just remove
that duplicate definition of the variable info. No functional change.

Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
Tested-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Luke Parkin <luke.parkin@arm.com>
Message-Id: <20240805131013.587016-2-sudeep.holla@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/driver.c