aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Parkin <[email protected]>2024-08-05 14:10:08 +0100
committerSudeep Holla <[email protected]>2024-08-09 14:20:40 +0100
commit20c9234d623cc54caed843739c1f89b305eb3bfa (patch)
tree55d7bd92f8b4626f09fcd46ba5e8a971d461c0cf
parent8400291e289ee6b2bf9779ff1c83a291501f017b (diff)
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 <[email protected]> Tested-by: Cristian Marussi <[email protected]> Signed-off-by: Luke Parkin <[email protected]> Message-Id: <[email protected]> Signed-off-by: Sudeep Holla <[email protected]>
-rw-r--r--drivers/firmware/arm_scmi/driver.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/firmware/arm_scmi/driver.c b/drivers/firmware/arm_scmi/driver.c
index 6b6957f4743f..56a93d20bf23 100644
--- a/drivers/firmware/arm_scmi/driver.c
+++ b/drivers/firmware/arm_scmi/driver.c
@@ -1261,9 +1261,6 @@ static int scmi_wait_for_reply(struct device *dev, const struct scmi_desc *desc,
xfer->rx.buf, xfer->rx.len);
if (IS_ENABLED(CONFIG_ARM_SCMI_RAW_MODE_SUPPORT)) {
- struct scmi_info *info =
- handle_to_scmi_info(cinfo->handle);
-
scmi_raw_message_report(info->raw, xfer,
SCMI_RAW_REPLY_QUEUE,
cinfo->id);