Commit 06986a2c authored by Viresh Kumar's avatar Viresh Kumar Committed by Greg Kroah-Hartman

greybus: firmware: drop 'stage' from ready-to-boot request

The spec says that it doesn't need it, so dropping it.
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 78cd6777
......@@ -123,7 +123,7 @@ static int gb_firmware_ready_to_boot(struct gb_operation *op)
struct gb_connection *connection = op->connection;
struct gb_firmware_ready_to_boot_request *rtb_request = op->request->payload;
struct device *dev = &connection->dev;
u8 stage, status;
u8 status;
if (op->request->payload_size != sizeof(*rtb_request)) {
dev_err(dev, "%s: Illegal size of ready to boot request (%zu %zu)\n",
......@@ -132,7 +132,6 @@ static int gb_firmware_ready_to_boot(struct gb_operation *op)
return -EINVAL;
}
stage = rtb_request->stage;
status = rtb_request->status;
/* Return error if the blob was invalid */
......
......@@ -193,7 +193,6 @@ struct gb_firmware_get_firmware_response {
/* Firmware protocol Ready to boot request */
struct gb_firmware_ready_to_boot_request {
__u8 stage;
__u8 status;
} __packed;
/* Firmware protocol Ready to boot response has no payload */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment