Commit b1f8bfea authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

greybus: loopback: remove unsupported version request

Remove the unsupported version request from the loopback-driver request
handler.

Unsupported requests are already handled and logged using the default
case.
Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 1c3aead1
...@@ -800,9 +800,6 @@ static int gb_loopback_request_handler(struct gb_operation *operation) ...@@ -800,9 +800,6 @@ static int gb_loopback_request_handler(struct gb_operation *operation)
/* By convention, the AP initiates the version operation */ /* By convention, the AP initiates the version operation */
switch (operation->type) { switch (operation->type) {
case GB_REQUEST_TYPE_PROTOCOL_VERSION:
dev_err(dev, "module-initiated version operation\n");
return -EINVAL;
case GB_LOOPBACK_TYPE_PING: case GB_LOOPBACK_TYPE_PING:
case GB_LOOPBACK_TYPE_SINK: case GB_LOOPBACK_TYPE_SINK:
return 0; return 0;
......
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