]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
greybus: firmware: drop 'stage' from ready-to-boot request
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 23 Sep 2015 23:48:12 +0000 (16:48 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 24 Sep 2015 22:25:03 +0000 (15:25 -0700)
The spec says that it doesn't need it, so dropping it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/firmware.c
drivers/staging/greybus/greybus_protocols.h

index 5642bc33c1ce23c898259c434995049e0e18e73c..884b7e2ad0a8740e5df7ab9a6fe8004abd13c8e2 100644 (file)
@@ -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 */
index 117f55e4463dcaf4fb013559f87fe1497f233090..4819cd0e229e57d702ff5f629b21cb7a93cdd6f6 100644 (file)
@@ -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 */