mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
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: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
1c3aead12e
commit
b1f8bfea65
1 changed files with 0 additions and 3 deletions
|
@ -800,9 +800,6 @@ static int gb_loopback_request_handler(struct gb_operation *operation)
|
|||
|
||||
/* By convention, the AP initiates the version operation */
|
||||
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_SINK:
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue